Fix windows build.
Change: 138101249
This commit is contained in:
parent
88c47c9d56
commit
5904c0e5f2
@ -16,6 +16,7 @@ limitations under the License.
|
||||
#ifndef TENSORFLOW_CORE_PLATFORM_WINDOWS_WINDOWS_FILE_SYSTEM_H_
|
||||
#define TENSORFLOW_CORE_PLATFORM_WINDOWS_WINDOWS_FILE_SYSTEM_H_
|
||||
|
||||
#include "tensorflow/core/lib/io/path.h"
|
||||
#include "tensorflow/core/platform/file_system.h"
|
||||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
@ -68,7 +69,7 @@ class LocalWinFileSystem : public WindowsFileSystem {
|
||||
public:
|
||||
string TranslateName(const string& name) const override {
|
||||
StringPiece scheme, host, path;
|
||||
ParseURI(name, &scheme, &host, &path);
|
||||
io::ParseURI(name, &scheme, &host, &path);
|
||||
return path.ToString();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user