From c20d44c3887c39eaa6850470ba6571d7c92ab336 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 14 Mar 2017 17:30:26 +0100 Subject: [PATCH] Replaced emplace() as the Windows build server doesn't support it now --- xs/src/libslic3r/Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/src/libslic3r/Config.cpp b/xs/src/libslic3r/Config.cpp index 1f366f3cbb..ccb357cf29 100644 --- a/xs/src/libslic3r/Config.cpp +++ b/xs/src/libslic3r/Config.cpp @@ -217,7 +217,7 @@ ConfigDef::add(const t_config_option_key &opt_key, ConfigOptionType type) ConfigOptionDef* 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]; }