std::make_unique is not supported by our build servers.

use Slic3r::make_unique instead
This commit is contained in:
bubnikv 2019-08-29 14:51:24 +02:00
parent ab361fc0e7
commit ace275af7f

View File

@ -723,7 +723,7 @@ bool GUI_App::load_language(wxString language, bool initial)
// Release the old locales, create new locales. // Release the old locales, create new locales.
m_wxLocale.release(); m_wxLocale.release();
m_wxLocale = std::make_unique<wxLocale>(); m_wxLocale = Slic3r::make_unique<wxLocale>();
m_wxLocale->Init(language_info->Language); m_wxLocale->Init(language_info->Language);
// Override language at the active wxTranslations class (which is stored in the active m_wxLocale) // 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. // to load possibly different dictionary, for example, load Czech dictionary for Slovak language.