aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/stream_executor/lib/env.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/stream_executor/lib/env.h')
-rw-r--r--tensorflow/stream_executor/lib/env.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/stream_executor/lib/env.h b/tensorflow/stream_executor/lib/env.h
index 3ef8deb72e..d78bbfd425 100644
--- a/tensorflow/stream_executor/lib/env.h
+++ b/tensorflow/stream_executor/lib/env.h
@@ -32,7 +32,7 @@ inline Status FileExists(const string& filename) {
}
inline Status FileExists(const port::StringPiece& filename) {
- return Env::Default()->FileExists(std::string(filename));
+ return Env::Default()->FileExists(string(filename));
}
} // namespace port