mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-10 03:21:47 +08:00
Replaced emplace() as the Windows build server doesn't support it now
This commit is contained in:
parent
8fe15d0162
commit
c20d44c388
@ -217,7 +217,7 @@ ConfigDef::add(const t_config_option_key &opt_key, ConfigOptionType type)
|
|||||||
ConfigOptionDef*
|
ConfigOptionDef*
|
||||||
ConfigDef::add(const t_config_option_key &opt_key, const ConfigOptionDef &def)
|
ConfigDef::add(const t_config_option_key &opt_key, const ConfigOptionDef &def)
|
||||||
{
|
{
|
||||||
this->options.emplace(opt_key, def);
|
this->options.insert(std::make_pair(opt_key, def));
|
||||||
return &this->options[opt_key];
|
return &this->options[opt_key];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user