mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-19 13:31:09 +02:00
Fixed tests and windows build
This commit is contained in:
1 parent
c5c6f51ae0
commit
6b6b086948
2 files changed
+3
-2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user