diff options
author | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-31 19:55:36 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-31 19:55:48 -0700 |
commit | 68452bed16ce2cfee8f962e5abef92d27fb0796f (patch) | |
tree | 94ab7feb18c11832ca37235322f973e01dff8fed /tensorflow/core/util | |
parent | c8cdf3b963754ff50ce1238f0eb114787fbe21cf (diff) | |
parent | a8adec05fe6d9dfb2e2fc032e32053546ed204d5 (diff) |
Merge pull request #21956 from Intel-tensorflow:sriniva2/stringpiece_fix
PiperOrigin-RevId: 211178634
Diffstat (limited to 'tensorflow/core/util')
-rw-r--r-- | tensorflow/core/util/mkl_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/util/mkl_util.h b/tensorflow/core/util/mkl_util.h index 2fa4b73e59..680211edff 100644 --- a/tensorflow/core/util/mkl_util.h +++ b/tensorflow/core/util/mkl_util.h @@ -2082,7 +2082,7 @@ class FactoryKeyCreator { const char delimiter = 'x'; const int kMaxKeyLength = 256; void Append(StringPiece s) { - key_.append(s.ToString()); + key_.append(string(s)); key_.append(1, delimiter); } }; |