diff options
author | 2018-09-14 10:53:23 -0700 | |
---|---|---|
committer | 2018-09-14 11:05:41 -0700 | |
commit | 81a063287a0449cfe2f20a82c036146d6e9356f9 (patch) | |
tree | 35f653938288593baa7a27dcc8e61e637af06153 /tensorflow/core/lib | |
parent | b2cb6e27f42cd8db6b105e686b494afe9b76324d (diff) |
Removed unnecessary includes from stringpiece.h
PiperOrigin-RevId: 213008707
Diffstat (limited to 'tensorflow/core/lib')
-rw-r--r-- | tensorflow/core/lib/core/status.h | 1 | ||||
-rw-r--r-- | tensorflow/core/lib/core/stringpiece.h | 6 | ||||
-rw-r--r-- | tensorflow/core/lib/io/block_builder.h | 1 | ||||
-rw-r--r-- | tensorflow/core/lib/io/path.h | 1 | ||||
-rw-r--r-- | tensorflow/core/lib/monitoring/collection_registry.h | 1 | ||||
-rw-r--r-- | tensorflow/core/lib/monitoring/metric_def.h | 1 | ||||
-rw-r--r-- | tensorflow/core/lib/png/png_io.h | 1 |
7 files changed, 6 insertions, 6 deletions
diff --git a/tensorflow/core/lib/core/status.h b/tensorflow/core/lib/core/status.h index 49f74ff47f..eb0ff555a5 100644 --- a/tensorflow/core/lib/core/status.h +++ b/tensorflow/core/lib/core/status.h @@ -24,6 +24,7 @@ limitations under the License. #include "tensorflow/core/lib/core/stringpiece.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/macros.h" +#include "tensorflow/core/platform/types.h" namespace tensorflow { diff --git a/tensorflow/core/lib/core/stringpiece.h b/tensorflow/core/lib/core/stringpiece.h index e7b17c9b36..6edff139ae 100644 --- a/tensorflow/core/lib/core/stringpiece.h +++ b/tensorflow/core/lib/core/stringpiece.h @@ -26,13 +26,7 @@ limitations under the License. #ifndef TENSORFLOW_CORE_LIB_CORE_STRINGPIECE_H_ #define TENSORFLOW_CORE_LIB_CORE_STRINGPIECE_H_ -#include <assert.h> -#include <stddef.h> -#include <string.h> -#include <iosfwd> -#include <string> #include "absl/strings/string_view.h" -#include "tensorflow/core/platform/types.h" namespace tensorflow { diff --git a/tensorflow/core/lib/io/block_builder.h b/tensorflow/core/lib/io/block_builder.h index e2927689d2..117b6a0bb8 100644 --- a/tensorflow/core/lib/io/block_builder.h +++ b/tensorflow/core/lib/io/block_builder.h @@ -20,6 +20,7 @@ limitations under the License. #include <stdint.h> #include "tensorflow/core/lib/core/stringpiece.h" +#include "tensorflow/core/platform/types.h" namespace tensorflow { namespace table { diff --git a/tensorflow/core/lib/io/path.h b/tensorflow/core/lib/io/path.h index e3649fd0c9..38fb0c5d86 100644 --- a/tensorflow/core/lib/io/path.h +++ b/tensorflow/core/lib/io/path.h @@ -17,6 +17,7 @@ limitations under the License. #define TENSORFLOW_CORE_LIB_IO_PATH_H_ #include "tensorflow/core/lib/core/stringpiece.h" +#include "tensorflow/core/platform/types.h" namespace tensorflow { namespace io { diff --git a/tensorflow/core/lib/monitoring/collection_registry.h b/tensorflow/core/lib/monitoring/collection_registry.h index c204d52cfe..9e4e1989dd 100644 --- a/tensorflow/core/lib/monitoring/collection_registry.h +++ b/tensorflow/core/lib/monitoring/collection_registry.h @@ -28,6 +28,7 @@ limitations under the License. #include "tensorflow/core/platform/macros.h" #include "tensorflow/core/platform/mutex.h" #include "tensorflow/core/platform/thread_annotations.h" +#include "tensorflow/core/platform/types.h" namespace tensorflow { namespace monitoring { diff --git a/tensorflow/core/lib/monitoring/metric_def.h b/tensorflow/core/lib/monitoring/metric_def.h index 756e5c2af8..bc4365e439 100644 --- a/tensorflow/core/lib/monitoring/metric_def.h +++ b/tensorflow/core/lib/monitoring/metric_def.h @@ -21,6 +21,7 @@ limitations under the License. #include "tensorflow/core/framework/summary.pb.h" #include "tensorflow/core/lib/core/stringpiece.h" +#include "tensorflow/core/platform/types.h" namespace tensorflow { namespace monitoring { diff --git a/tensorflow/core/lib/png/png_io.h b/tensorflow/core/lib/png/png_io.h index bb5d20fb68..c876c5156a 100644 --- a/tensorflow/core/lib/png/png_io.h +++ b/tensorflow/core/lib/png/png_io.h @@ -37,6 +37,7 @@ limitations under the License. #include "tensorflow/core/lib/core/stringpiece.h" #include "tensorflow/core/platform/png.h" +#include "tensorflow/core/platform/types.h" namespace tensorflow { namespace png { |