aboutsummaryrefslogtreecommitdiff
path: root/dep/utf8cpp/utf8/checked.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/utf8cpp/utf8/checked.h')
-rw-r--r--dep/utf8cpp/utf8/checked.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/dep/utf8cpp/utf8/checked.h b/dep/utf8cpp/utf8/checked.h
index 3b00644444c..13311551381 100644
--- a/dep/utf8cpp/utf8/checked.h
+++ b/dep/utf8cpp/utf8/checked.h
@@ -109,13 +109,13 @@ namespace utf8
case internal::NOT_ENOUGH_ROOM:
throw not_enough_room();
case internal::INVALID_LEAD:
- utf8::append (replacement, out);
+ out = utf8::append (replacement, out);
++start;
break;
case internal::INCOMPLETE_SEQUENCE:
case internal::OVERLONG_SEQUENCE:
case internal::INVALID_CODE_POINT:
- utf8::append (replacement, out);
+ out = utf8::append (replacement, out);
++start;
// just one replacement mark for the sequence
while (start != end && utf8::internal::is_trail(*start))
@@ -270,7 +270,7 @@ namespace utf8
octet_iterator range_start;
octet_iterator range_end;
public:
- iterator () {};
+ iterator () {}
explicit iterator (const octet_iterator& octet_it,
const octet_iterator& range_start,
const octet_iterator& range_end) :