summaryrefslogtreecommitdiff
path: root/source/fud_directory.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-10-29 21:02:25 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-10-29 21:02:25 -0500
commit8ce397e8c0a83e49e390de9deb73d588e4931ecf (patch)
tree31f4f4facf0cb75535aaec130d606c54fe97b2d8 /source/fud_directory.cpp
parentf281050ddb3b9d658cff67a254eedc3b79de5c5d (diff)
Reworking of Result.
Diffstat (limited to 'source/fud_directory.cpp')
-rw-r--r--source/fud_directory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fud_directory.cpp b/source/fud_directory.cpp
index 1dc1aba..7dcf911 100644
--- a/source/fud_directory.cpp
+++ b/source/fud_directory.cpp
@@ -146,7 +146,7 @@ Result<DirectoryEntry, FudStatus> Directory::info()
m_errorCode = 0;
}
- return retValue;
+ return RetType::okay(std::move(retValue));
}
Result<Option<DirectoryEntry>, FudStatus> Directory::getNextEntry()