Change ICU variant of String::ToUpper for string_view argument.

This commit is contained in:
Aaron van Geffen 2018-05-14 23:23:27 +02:00
parent 386ab1b0fa
commit 8e919d2f84
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ namespace String
log_warning("LCMapStringEx loop exceeded");
return std::string(src);
#else
icu::UnicodeString str = icu::UnicodeString::fromUTF8(src);
icu::UnicodeString str = icu::UnicodeString::fromUTF8(std::string(src));
str.toUpper();
std::string res;