mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
std::make_unique is not supported by our build servers.
use Slic3r::make_unique instead
This commit is contained in:
@@ -723,7 +723,7 @@ bool GUI_App::load_language(wxString language, bool initial)
|
||||
// Release the old locales, create new locales.
|
||||
|
||||
m_wxLocale.release();
|
||||
m_wxLocale = std::make_unique<wxLocale>();
|
||||
m_wxLocale = Slic3r::make_unique<wxLocale>();
|
||||
m_wxLocale->Init(language_info->Language);
|
||||
// Override language at the active wxTranslations class (which is stored in the active m_wxLocale)
|
||||
// to load possibly different dictionary, for example, load Czech dictionary for Slovak language.
|
||||
|
||||
Reference in New Issue
Block a user