diff --git a/src/common/str-utils.cpp b/src/common/str-utils.cpp index 245e31e1f3..44bb0087ab 100644 --- a/src/common/str-utils.cpp +++ b/src/common/str-utils.cpp @@ -185,14 +185,14 @@ is_slash(char c) std::wstring wstr_from_utf8(const char *s) { - std::wstring_convert> utf8conv; + std::wstring_convert> utf8conv; return utf8conv.from_bytes(s); } std::wstring wstr_from_utf8(const char *first, const char *last) { - std::wstring_convert> utf8conv; + std::wstring_convert> utf8conv; return utf8conv.from_bytes(first, last); } @@ -205,7 +205,7 @@ wstr_from_utf8(const std::string &s) std::string wstr_to_utf8(const wchar_t *ws) { - std::wstring_convert> utf8conv; + std::wstring_convert> utf8conv; return utf8conv.to_bytes(ws); }