std::make_unique is not supported by our build servers.
use Slic3r::make_unique instead
This commit is contained in:
parent
ab361fc0e7
commit
ace275af7f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue