summaryrefslogtreecommitdiff
path: root/src/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.cpp')
-rw-r--r--src/string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string.cpp b/src/string.cpp
index 18ed863d0..cb6c1e8f7 100644
--- a/src/string.cpp
+++ b/src/string.cpp
@@ -652,8 +652,8 @@ public:
* for word break iterators (especially for CJK languages) in combination
* with UTF-8 input. As a work around we have to convert the input to
* UTF-16 and create a mapping back to UTF-8 character indices. */
- this->utf16_str.Clear();
- this->utf16_to_utf8.Clear();
+ this->utf16_str.clear();
+ this->utf16_to_utf8.clear();
while (*s != '\0') {
size_t idx = s - string_base;