Replaced emplace() as the Windows build server doesn't support it now

This commit is contained in:
Alessandro Ranellucci 2017-03-14 17:30:26 +01:00
parent 8fe15d0162
commit c20d44c388

View File

@ -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];
} }