From 0d625abde0ec5660449de1a5b3767516759f99be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Thu, 14 Jul 2022 16:47:27 +0300 Subject: [PATCH] Declare utf8ToUtf16 static --- components/crashcatcher/windows_crashmonitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/crashcatcher/windows_crashmonitor.cpp b/components/crashcatcher/windows_crashmonitor.cpp index 214557e3a7..c91f57c6f9 100644 --- a/components/crashcatcher/windows_crashmonitor.cpp +++ b/components/crashcatcher/windows_crashmonitor.cpp @@ -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);