Declare utf8ToUtf16 static

LTO-timing^2
ζeh Matt 2 years ago
parent 100e400fed
commit 0d625abde0
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0

@ -225,7 +225,7 @@ namespace Crash
signalApp(); 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); const int nLenWide = MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), utf8.size(), nullptr, 0);

Loading…
Cancel
Save