mirror of https://github.com/OpenRCT2/OpenRCT2.git
Change ICU variant of String::ToUpper for string_view argument.
This commit is contained in:
parent
386ab1b0fa
commit
8e919d2f84
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue