summaryrefslogtreecommitdiff
path: root/include/fud_directory.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-10-27 21:50:16 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-10-27 21:50:16 -0500
commitc3cf6df863828798ed8230b0f0966bcf3b2d08dd (patch)
treec03f94128e4892d503532f7fb886dcd86fafdf72 /include/fud_directory.hpp
parent7174a2741a6f7aa93c9d077dee384f8aa76d7a02 (diff)
Excise std::optional.
Diffstat (limited to 'include/fud_directory.hpp')
-rw-r--r--include/fud_directory.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fud_directory.hpp b/include/fud_directory.hpp
index d2bd53d..e935950 100644
--- a/include/fud_directory.hpp
+++ b/include/fud_directory.hpp
@@ -21,12 +21,12 @@
#include "fud_result.hpp"
#include "fud_status.hpp"
#include "fud_string.hpp"
+#include "fud_option.hpp"
#include <cstdint>
#include <cstdio>
#include <ctime>
#include <dirent.h>
-#include <optional>
namespace fud {
@@ -110,7 +110,7 @@ class Directory {
Result<DirectoryEntry, FudStatus> info();
- Result<std::optional<DirectoryEntry>, FudStatus> getNextEntry();
+ Result<Option<DirectoryEntry>, FudStatus> getNextEntry();
FudStatus reset();