diff options
author | Sadie Powell <sadie@witchery.services> | 2020-07-30 14:29:11 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-07-30 14:29:11 +0100 |
commit | 46390a54b3a0310a4662bae448031d853c61e8d7 (patch) | |
tree | 3d26f3d926a867901b1f91abc7508264bea7ed78 /vendor/utfcpp/utf8/unchecked.h | |
parent | 428eea648d7088999411762513e199d99a9e77fe (diff) |
Update vendored dependencies and fix update tool for Perl changes.
Diffstat (limited to 'vendor/utfcpp/utf8/unchecked.h')
-rw-r--r-- | vendor/utfcpp/utf8/unchecked.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vendor/utfcpp/utf8/unchecked.h b/vendor/utfcpp/utf8/unchecked.h index def000997..0e1b51cc7 100644 --- a/vendor/utfcpp/utf8/unchecked.h +++ b/vendor/utfcpp/utf8/unchecked.h @@ -217,9 +217,14 @@ namespace utf8 // The iterator class template <typename octet_iterator> - class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> { + class iterator { octet_iterator it; public: + typedef uint32_t value_type; + typedef uint32_t* pointer; + typedef uint32_t& reference; + typedef std::ptrdiff_t difference_type; + typedef std::bidirectional_iterator_tag iterator_category; iterator () {} explicit iterator (const octet_iterator& octet_it): it(octet_it) {} // the default "big three" are OK |