diff options
Diffstat (limited to 'tensorflow/stream_executor/lib/stringpiece.h')
-rw-r--r-- | tensorflow/stream_executor/lib/stringpiece.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tensorflow/stream_executor/lib/stringpiece.h b/tensorflow/stream_executor/lib/stringpiece.h index b80de5df30..7624910129 100644 --- a/tensorflow/stream_executor/lib/stringpiece.h +++ b/tensorflow/stream_executor/lib/stringpiece.h @@ -16,13 +16,12 @@ limitations under the License. #ifndef TENSORFLOW_STREAM_EXECUTOR_LIB_STRINGPIECE_H_ #define TENSORFLOW_STREAM_EXECUTOR_LIB_STRINGPIECE_H_ -#include "tensorflow/core/lib/core/stringpiece.h" -#include "tensorflow/stream_executor/platform/port.h" +#include "absl/strings/string_view.h" namespace stream_executor { namespace port { -using tensorflow::StringPiece; +using StringPiece = absl::string_view; } // namespace port } // namespace stream_executor |