mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
Remove unused function
This commit is contained in:
parent
899f0a4633
commit
f239988c06
@ -228,18 +228,6 @@ namespace Crash
|
|||||||
signalApp();
|
signalApp();
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::wstring utf8ToUtf16(const std::string& utf8)
|
|
||||||
{
|
|
||||||
const int nLenWide = MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), utf8.size(), nullptr, 0);
|
|
||||||
|
|
||||||
std::wstring utf16;
|
|
||||||
utf16.resize(nLenWide);
|
|
||||||
if (MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), utf8.size(), utf16.data(), nLenWide) != nLenWide)
|
|
||||||
return {};
|
|
||||||
|
|
||||||
return utf16;
|
|
||||||
}
|
|
||||||
|
|
||||||
void CrashMonitor::handleCrash(bool isFreeze)
|
void CrashMonitor::handleCrash(bool isFreeze)
|
||||||
{
|
{
|
||||||
DWORD processId = GetProcessId(mAppProcessHandle);
|
DWORD processId = GetProcessId(mAppProcessHandle);
|
||||||
|
Loading…
Reference in New Issue
Block a user