summaryrefslogtreecommitdiff
path: root/source/fud_utf8_iterator.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-10-20 10:48:19 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-10-20 10:48:19 -0500
commit6a27a2a4032e88fa9154ef0f0741edc584f7a701 (patch)
tree92ca58cbcdd2c1d11b7d69deb0d4925d0f979a3f /source/fud_utf8_iterator.cpp
parente94db4695e236b42ae1be44b2605075161d5144f (diff)
Lots of work.
Diffstat (limited to 'source/fud_utf8_iterator.cpp')
-rw-r--r--source/fud_utf8_iterator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fud_utf8_iterator.cpp b/source/fud_utf8_iterator.cpp
index 2557dc0..a815c64 100644
--- a/source/fud_utf8_iterator.cpp
+++ b/source/fud_utf8_iterator.cpp
@@ -25,7 +25,7 @@ std::optional<FudUtf8> Utf8Iterator::peek() const
return std::nullopt;
}
- auto character = FudUtf8::fromStringView(m_view, m_index);
+ auto character = FudUtf8::from(m_view, m_index);
if (!character.valid()) {
return std::nullopt;
@@ -41,7 +41,7 @@ std::optional<FudUtf8> Utf8Iterator::next()
return std::nullopt;
}
- auto character = FudUtf8::fromStringView(m_view, m_index);
+ auto character = FudUtf8::from(m_view, m_index);
if (!character.valid()) {
m_index = m_view.length();