diff --git a/ccutil/unichar.h b/ccutil/unichar.h index 828b947417..59eaf8f638 100644 --- a/ccutil/unichar.h +++ b/ccutil/unichar.h @@ -161,7 +161,7 @@ class UNICHAR { static std::vector UTF8ToUTF32(const char* utf8_str); // Converts a vector of unicodes to a utf8 string. // Returns an empty string if the input contains an invalid unicode. - static string UTF32ToUTF8(const std::vector& str32); + static std::string UTF32ToUTF8(const std::vector& str32); private: // A UTF-8 representation of 1 or more Unicode characters.