diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-10-11 14:54:59 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-10-11 14:54:59 +0200 |
| commit | 80dc6024b55303f1a98eba5aedcfd5991d007db8 (patch) | |
| tree | 2dfe3e5a99dc5675caa37d6db077191b829e4953 /dep/utf8cpp/utf8/cpp17.h | |
| parent | 8fcec269170f209f79590b3a22f2c85f551cf17b (diff) | |
Dep/utfcpp: Update to 4.0.8
Diffstat (limited to 'dep/utf8cpp/utf8/cpp17.h')
| -rw-r--r-- | dep/utf8cpp/utf8/cpp17.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/dep/utf8cpp/utf8/cpp17.h b/dep/utf8cpp/utf8/cpp17.h index 32a77ce3075..075873003ef 100644 --- a/dep/utf8cpp/utf8/cpp17.h +++ b/dep/utf8cpp/utf8/cpp17.h @@ -28,17 +28,10 @@ DEALINGS IN THE SOFTWARE. #ifndef UTF8_FOR_CPP_7e906c01_03a3_4daf_b420_ea7ea952b3c9 #define UTF8_FOR_CPP_7e906c01_03a3_4daf_b420_ea7ea952b3c9 -#include "checked.h" -#include <string> +#include "cpp11.h" namespace utf8 { - - inline void append(char32_t cp, std::string& s) - { - append(uint32_t(cp), std::back_inserter(s)); - } - inline std::string utf16to8(std::u16string_view s) { std::string result; @@ -96,7 +89,7 @@ namespace utf8 { return starts_with_bom(s.begin(), s.end()); } - + } // namespace utf8 #endif // header guard |
