[*] This deprecated API is known to break with a stupid template error under recent STL releases under MSVC

This commit is contained in:
Reece Wilson 2022-04-02 19:15:06 +01:00
parent a31136a5d4
commit 24ea76e30e

View File

@ -26,7 +26,7 @@ namespace Aurora::Locale
// Note: [0] out of touch boomers deprecated std::wstring_convert before going for a nappy. we do not have a replacement yet
// [1] the native win32 implementation appears to be more optimized than MSVC/stl
#if !defined(AU_NO_CPPLOCALE)
#if !defined(AU_NO_CPPLOCALE) && !(defined(AURORA_COMPILER_MSVC) && defined(AU_LANG_CPP_20))
static std::wstring_convert<std::codecvt_utf8<wchar_t>> gUtf8Conv;
#endif