From 8ce397e8c0a83e49e390de9deb73d588e4931ecf Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Tue, 29 Oct 2024 21:02:25 -0500 Subject: Reworking of Result. --- test/test_file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_file.cpp') 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); -- cgit v1.2.3