diff options
Diffstat (limited to 'tensorflow/core/graph/graph_constructor_test.cc')
-rw-r--r-- | tensorflow/core/graph/graph_constructor_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tensorflow/core/graph/graph_constructor_test.cc b/tensorflow/core/graph/graph_constructor_test.cc index e338840eeb..73142ebde7 100644 --- a/tensorflow/core/graph/graph_constructor_test.cc +++ b/tensorflow/core/graph/graph_constructor_test.cc @@ -156,9 +156,8 @@ class GraphConstructorTest : public ::testing::Test { return ""; } StringPiece loc(value[0]); - return str_util::ConsumePrefix(&loc, kColocationGroupPrefix) - ? std::string(loc) - : ""; + return str_util::ConsumePrefix(&loc, kColocationGroupPrefix) ? string(loc) + : ""; } string GraphDebugString() const { |