1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-18 13:12:50 +00:00

Declare utf8ToUtf16 static

This commit is contained in:
ζeh Matt 2022-07-14 16:47:27 +03:00
parent 100e400fed
commit 0d625abde0
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0

View File

@ -225,7 +225,7 @@ namespace Crash
signalApp();
}
std::wstring utf8ToUtf16(const std::string& utf8)
static std::wstring utf8ToUtf16(const std::string& utf8)
{
const int nLenWide = MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), utf8.size(), nullptr, 0);