From c3cf6df863828798ed8230b0f0966bcf3b2d08dd Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Sun, 27 Oct 2024 21:50:16 -0500 Subject: Excise std::optional. --- include/fud_utf8_iterator.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/fud_utf8_iterator.hpp') 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 -#include namespace fud { @@ -47,8 +47,8 @@ class Utf8Iterator { m_index = 0; } - [[nodiscard]] std::optional peek() const; - std::optional next(); + [[nodiscard]] Option peek() const; + Option next(); }; } // namespace fud -- cgit v1.2.3