diff options
Diffstat (limited to 'tensorflow/core/platform/file_system_test.cc')
-rw-r--r-- | tensorflow/core/platform/file_system_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/platform/file_system_test.cc b/tensorflow/core/platform/file_system_test.cc index f261b8f576..c0a16c95f9 100644 --- a/tensorflow/core/platform/file_system_test.cc +++ b/tensorflow/core/platform/file_system_test.cc @@ -125,7 +125,7 @@ class InterPlanetaryFileSystem : public NullFileSystem { ASSERT_EQ(scheme, "ipfs"); ASSERT_EQ(host, "solarsystem"); str_util::ConsumePrefix(&path, "/"); - *parsed_path = path.ToString(); + *parsed_path = std::string(path); } std::map<string, std::set<string>> celestial_bodies_ = { |