summaryrefslogtreecommitdiff
path: root/include/fud_utf8_iterator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/fud_utf8_iterator.hpp')
-rw-r--r--include/fud_utf8_iterator.hpp6
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