aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/StringUtil.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-10-22 21:42:45 +0800
committercrupest <crupest@outlook.com>2021-10-22 21:42:45 +0800
commit3e84cf013b31c52405a76b8e8778a5991d096290 (patch)
tree4d3b2d2ef5a9625c55f798d88281073e806ee83f /include/cru/common/StringUtil.hpp
parented640ca9e3c7482856a0248ea38adafc86a7d4c8 (diff)
downloadcru-3e84cf013b31c52405a76b8e8778a5991d096290.tar.gz
cru-3e84cf013b31c52405a76b8e8778a5991d096290.tar.bz2
cru-3e84cf013b31c52405a76b8e8778a5991d096290.zip
...
Diffstat (limited to 'include/cru/common/StringUtil.hpp')
-rw-r--r--include/cru/common/StringUtil.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/common/StringUtil.hpp b/include/cru/common/StringUtil.hpp
index 5c230898..4291a0da 100644
--- a/include/cru/common/StringUtil.hpp
+++ b/include/cru/common/StringUtil.hpp
@@ -110,7 +110,7 @@ class CodePointIterator {
private:
StringType string_;
Index position_;
- mutable Index next_position_cache_;
+ mutable Index next_position_cache_ = 0;
};
using Utf8CodePointIterator =