More buildfix

This commit is contained in:
Henrik Rydgård committed 2024-01-12 14:09:21 +01:00
1 parent 0fc3e2b777
commit 34d35dcf8b
4 files changed
+4 -3

No files matched your search

+2
View File
@@ -372,6 +372,8 @@ int u8_is_locale_utf8(const char *locale)
return 0;
}
UTF8::UTF8(const char *c) : c_(c), size_((int)strlen(c)), index_(0) {}
bool AnyEmojiInString(std::string_view str, size_t byteCount) {
int i = 0;
while (i < byteCount) {