fix for error "cannot convert argument 1 from 'std::wstring' to 'LPCWSTR'"

--HG--
branch : fix-WinVS2017_debug
hg/yubo
Herrah 5 years ago
parent e32e4492ce
commit 99ededcfcb

@ -135,7 +135,7 @@ CApplicationContext::~CApplicationContext()
std::string message = toString("Instance '%s' still allocated at %p", it->first.c_str(), it->second);
#ifdef NL_OS_WINDOWS
OutputDebugStringW(utf8ToWide(message));
OutputDebugStringW(utf8ToWide(message).c_str());
#else
printf("%s\n", message.c_str());
#endif

Loading…
Cancel
Save