diff options
Diffstat (limited to 'dep/utf8cpp/utf8')
| -rw-r--r-- | dep/utf8cpp/utf8/checked.h | 6 | ||||
| -rw-r--r-- | dep/utf8cpp/utf8/unchecked.h | 2 | 
2 files changed, 4 insertions, 4 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) : diff --git a/dep/utf8cpp/utf8/unchecked.h b/dep/utf8cpp/utf8/unchecked.h index b4547fad945..cb2427166b1 100644 --- a/dep/utf8cpp/utf8/unchecked.h +++ b/dep/utf8cpp/utf8/unchecked.h @@ -179,7 +179,7 @@ namespace utf8            class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {               octet_iterator it;              public: -            iterator () {}; +            iterator () {}              explicit iterator (const octet_iterator& octet_it): it(octet_it) {}              // the default "big three" are OK              octet_iterator base () const { return it; } | 
