Fix windows build.

Change: 138101249
This commit is contained in:
Jonathan Hseu 2016-11-03 11:13:50 -08:00 committed by TensorFlower Gardener
parent 88c47c9d56
commit 5904c0e5f2

View File

@ -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();
}
};