diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-10-27 21:50:16 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-10-27 21:50:16 -0500 |
commit | c3cf6df863828798ed8230b0f0966bcf3b2d08dd (patch) | |
tree | c03f94128e4892d503532f7fb886dcd86fafdf72 /include/fud_utf8_iterator.hpp | |
parent | 7174a2741a6f7aa93c9d077dee384f8aa76d7a02 (diff) |
Excise std::optional.
Diffstat (limited to 'include/fud_utf8_iterator.hpp')
-rw-r--r-- | include/fud_utf8_iterator.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/fud_utf8_iterator.hpp b/include/fud_utf8_iterator.hpp index ec35927..25aaae6 100644 --- a/include/fud_utf8_iterator.hpp +++ b/include/fud_utf8_iterator.hpp @@ -19,10 +19,10 @@ #define FUD_UTF8_ITERATOR_HPP #include "fud_string.hpp" +#include "fud_option.hpp" #include "fud_utf8.hpp" #include <cstddef> -#include <optional> namespace fud { @@ -47,8 +47,8 @@ class Utf8Iterator { m_index = 0; } - [[nodiscard]] std::optional<FudUtf8> peek() const; - std::optional<FudUtf8> next(); + [[nodiscard]] Option<FudUtf8> peek() const; + Option<FudUtf8> next(); }; } // namespace fud |