diff options
Diffstat (limited to 'include/fud_directory.hpp')
-rw-r--r-- | include/fud_directory.hpp | 4 |
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(); |