Skip to content

Commit

Permalink
Fixed compilation bug with u8_string fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
DuffsDevice authored Apr 18, 2021
1 parent 15f744a commit e53efd9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/tinyutf8/tinyutf8.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ namespace tiny_utf8

//! Typedef of string (data type: char)
using string = basic_string<char32_t, char>;
using utf8_string = basic_string<char32_t, char>; // For backwards compatibility

//! Typedef of u8string (data type char8_t)
#if __cplusplus > 201703L
Expand All @@ -123,9 +124,6 @@ namespace tiny_utf8
using u8string = utf8_string;
#endif
#endif

//! Typedef of utf8_string (data type: char)
using utf8_string = basic_string<char32_t, char>; // For backwards compatibility

//! Implementation Detail
namespace tiny_utf8_detail
Expand Down

0 comments on commit e53efd9

Please sign in to comment.