mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Fixed tests and windows build
This commit is contained in:
parent
c5c6f51ae0
commit
6b6b086948
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue