mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Trying to fix some template resolution on Linux
This commit is contained in:
parent
b1420283b6
commit
497b01f24a
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ ConfigOption* DynamicConfig::optptr(const t_config_option_key &opt_key, bool cre
|
||||||
// Let the parent decide what to do if the opt_key is not defined by this->def().
|
// Let the parent decide what to do if the opt_key is not defined by this->def().
|
||||||
return nullptr;
|
return nullptr;
|
||||||
ConfigOption *opt = optdef->create_default_option();
|
ConfigOption *opt = optdef->create_default_option();
|
||||||
this->options.insert(it, std::make_pair(opt_key, opt));
|
this->options.emplace_hint(it, opt_key, std::unique_ptr<ConfigOption>(opt));
|
||||||
return opt;
|
return opt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue