diff options
Diffstat (limited to 'test/test_file.cpp')
-rw-r--r-- | test/test_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_file.cpp b/test/test_file.cpp index 06e6bcc..27844d8 100644 --- a/test/test_file.cpp +++ b/test/test_file.cpp @@ -75,7 +75,7 @@ TEST(FudFile, Basic) }; ASSERT_GE(createFile(testName1), 0); - fileResult = RegularFile::open(testName1.asView(), FileAccessMode::Read, OpenFlags{}, NullOpt); + fileResult = std::move(RegularFile::open(testName1.asView(), FileAccessMode::Read, OpenFlags{}, NullOpt)); ASSERT_TRUE(fileResult.isOkay()); auto file{fileResult.takeOkay()}; ASSERT_EQ(file.close(), FudStatus::Success); |