aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/lib/str_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/stream_executor/lib/str_util.h')
-rw-r--r--tensorflow/stream_executor/lib/str_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/stream_executor/lib/str_util.h b/tensorflow/stream_executor/lib/str_util.h
index b02fe4f56f..e77dfcef76 100644
--- a/tensorflow/stream_executor/lib/str_util.h
+++ b/tensorflow/stream_executor/lib/str_util.h
@@ -31,7 +31,7 @@ inline string StripSuffixString(port::StringPiece str, port::StringPiece suffix)
if (tensorflow::str_util::EndsWith(str, suffix)) {
str.remove_suffix(suffix.size());
}
- return std::string(str);
+ return string(str);
}
using tensorflow::str_util::Lowercase;