diff options
author | 2016-06-20 14:23:50 -0800 | |
---|---|---|
committer | 2016-06-20 15:34:22 -0700 | |
commit | 6fb0fe23a6cc015c7f37f53559abf5172687366e (patch) | |
tree | 4c8004386c8b060b731714d777f889904d027dea /tensorflow/core/util/memmapped_file_system_test.cc | |
parent | 42496a147f5e3da17ea24f12bee51c6dfc0c66a5 (diff) |
Clean up callers of old Env:: APIs that don't pass unique_ptr.
Change: 125386366
Diffstat (limited to 'tensorflow/core/util/memmapped_file_system_test.cc')
-rw-r--r-- | tensorflow/core/util/memmapped_file_system_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/util/memmapped_file_system_test.cc b/tensorflow/core/util/memmapped_file_system_test.cc index 26e94f99f7..cf03647264 100644 --- a/tensorflow/core/util/memmapped_file_system_test.cc +++ b/tensorflow/core/util/memmapped_file_system_test.cc @@ -109,7 +109,7 @@ TEST(MemmappedFileSystemTest, NotInitalized) { memmapped_env .NewReadOnlyMemoryRegionFromFile(kTensor1FileName, &memory_region) .code()); - RandomAccessFile* file; + std::unique_ptr<RandomAccessFile> file; EXPECT_EQ(error::FAILED_PRECONDITION, memmapped_env.NewRandomAccessFile(kProtoFileName, &file).code()); } |