1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-23 10:04:26 +00:00

Fixed tests and windows build

This commit is contained in:
Lukas Matena
2021-05-10 12:18:30 +02:00
parent c5c6f51ae0
commit 6b6b086948
2 changed files with 3 additions and 2 deletions
+1 -1
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);