Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarUnicode.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-28 20:07:22 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-28 20:07:22 +1000
commit4b91eb717554aeaab8f366a1608276acb5f88479 (patch)
tree342c9814d098afe68382846666a03b06203a4751 /source/core/StarUnicode.hpp
parent1fc295b97975d20ed0f8011c1ece6fcd687c97cd (diff)
Fix StringView::substr
Diffstat (limited to 'source/core/StarUnicode.hpp')
-rw-r--r--source/core/StarUnicode.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/core/StarUnicode.hpp b/source/core/StarUnicode.hpp
index 845259f..9abff3e 100644
--- a/source/core/StarUnicode.hpp
+++ b/source/core/StarUnicode.hpp
@@ -49,6 +49,10 @@ public:
U8ToU32Iterator(BaseIterator b) : m_position(b), m_value(pending_read) {}
+ BaseIterator const& base() const {
+ return m_position;
+ }
+
U32Type const& operator*() const {
if (m_value == pending_read)
extract_current();