Try fix issue #56.

This commit is contained in:
Martín Lucas Golini
2024-09-23 14:39:19 -03:00
parent 9f1c18e397
commit 42c4fd5f6c
2 changed files with 3 additions and 3 deletions

View File

@@ -585,7 +585,7 @@ class EE_API String {
std::string toUtf8() const;
/** Convert the string to a UTF-16 string */
std::basic_string<Uint16> toUtf16() const;
std::basic_string<char16_t> toUtf16() const;
/** @return The hash code of the String */
HashType getHash() const;

View File

@@ -1348,9 +1348,9 @@ std::string String::toUtf8() const {
return output;
}
std::basic_string<Uint16> String::toUtf16() const {
std::basic_string<char16_t> String::toUtf16() const {
// Prepare the output string
std::basic_string<Uint16> output;
std::basic_string<char16_t> output;
output.reserve( mString.length() );
// Convert