diff options
author | Roland Reichwein <mail@reichwein.it> | 2021-12-05 20:25:51 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2021-12-05 20:25:51 +0100 |
commit | 40526eb7f247fdfc9d08c39ed3eaa97844b3c448 (patch) | |
tree | a0dcb4af00ab2027fd0b7d3f6cac38bb55b6da55 /include | |
parent | 6dcbe207ac96fcf1a73ad6504dd7d6046d8df0cc (diff) |
Fix build on C++20, testsv1.5
Diffstat (limited to 'include')
-rw-r--r-- | include/unicode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unicode.h b/include/unicode.h index 33b3199..36fc6ae 100644 --- a/include/unicode.h +++ b/include/unicode.h @@ -351,8 +351,8 @@ namespace unicode::detail { typename utf_back_insert_iterator::string_type& s; }; - typedef std::unordered_map<utf8_t, char32_t> iso_map_type; - typedef std::unordered_map<char32_t, utf8_t> iso_map_type_reverse; + typedef std::unordered_map<iso_t, char32_t> iso_map_type; + typedef std::unordered_map<char32_t, iso_t> iso_map_type_reverse; // ISO-8859-1 is lower 8-bit of Unicode, so no exceptions necessary static inline iso_map_type iso_8859_1_map; |