Fixed tests and windows build

This commit is contained in:
Lukas Matena
2021-05-10 12:18:30 +02:00
parent e2b0623f8e
commit c4f422bbd9
2 changed files with 3 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ CNumericLocalesSetter::CNumericLocalesSetter()
CNumericLocalesSetter::~CNumericLocalesSetter()
{
#ifdef _WIN32
std::setlocale(LC_NUMERIC, m_orig_numeric_locale)
std::setlocale(LC_NUMERIC, m_orig_numeric_locale.data());
#else
uselocale(m_original_locale);
freelocale(m_new_locale);