diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-11-27 10:05:11 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-11-27 10:08:26 -0800 |
commit | 4fbf63a8ba991113a6e35cbb3e4d14f2343dfbe4 (patch) | |
tree | fddd61e23624feaaf3fb4b9118d2e28ef7c9e7cd /tensorflow/core/lib/core | |
parent | e424ba4a6d6e2c10f78f7f899de3c5d8dfb2e8c9 (diff) |
Removed deprecated Hasher alias from StringPiece.
This will allow StringPiece to be replaced by an alias to absl::string_view.
PiperOrigin-RevId: 177033313
Diffstat (limited to 'tensorflow/core/lib/core')
-rw-r--r-- | tensorflow/core/lib/core/stringpiece.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tensorflow/core/lib/core/stringpiece.h b/tensorflow/core/lib/core/stringpiece.h index b2c6842151..89a1e26b81 100644 --- a/tensorflow/core/lib/core/stringpiece.h +++ b/tensorflow/core/lib/core/stringpiece.h @@ -105,8 +105,6 @@ class StringPiece { StringPiece substr(size_t pos, size_t n = npos) const; - using Hasher = ::tensorflow::StringPieceHasher; - // Return a string that contains the copy of the referenced data. std::string ToString() const { return std::string(data_, size_); } |