diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-11-03 13:04:00 -0600 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-11-03 13:04:00 -0600 |
commit | 1e89700693e92bb9c78ace739c71431b74d91e22 (patch) | |
tree | 08d40bf1c650987fac55805ce4b930a19c065fec /source/fud_utf8_iterator.cpp | |
parent | 9b4b87765d48d2d6aed6ac1f40c4aa2684fad766 (diff) |
Rename FudUtf8 to Utf8.
Diffstat (limited to 'source/fud_utf8_iterator.cpp')
-rw-r--r-- | source/fud_utf8_iterator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/fud_utf8_iterator.cpp b/source/fud_utf8_iterator.cpp index 00ce146..5bdc784 100644 --- a/source/fud_utf8_iterator.cpp +++ b/source/fud_utf8_iterator.cpp @@ -19,13 +19,13 @@ namespace fud { -Option<FudUtf8> Utf8Iterator::peek() const +Option<Utf8> Utf8Iterator::peek() const { if (m_index >= m_view.length()) { return NullOpt; } - auto character = FudUtf8::from(m_view, m_index); + auto character = Utf8::from(m_view, m_index); if (!character.valid()) { return NullOpt; @@ -34,14 +34,14 @@ Option<FudUtf8> Utf8Iterator::peek() const return character; } -Option<FudUtf8> Utf8Iterator::next() +Option<Utf8> Utf8Iterator::next() { if (m_index >= m_view.length()) { m_index = m_view.length(); return NullOpt; } - auto character = FudUtf8::from(m_view, m_index); + auto character = Utf8::from(m_view, m_index); if (!character.valid()) { m_index = m_view.length(); |