Fixed some compiler warnings
This commit is contained in:
parent
f5662458a2
commit
479a39ce0e
9 changed files with 41 additions and 36 deletions
|
@ -749,7 +749,7 @@ std::pair<Preset*, bool> PresetCollection::load_external_preset(
|
|||
{
|
||||
// Load the preset over a default preset, so that the missing fields are filled in from the default preset.
|
||||
DynamicPrintConfig cfg(this->default_preset_for(combined_config).config);
|
||||
t_config_option_keys keys = std::move(cfg.keys());
|
||||
t_config_option_keys keys = cfg.keys();
|
||||
cfg.apply_only(combined_config, keys, true);
|
||||
std::string &inherits = Preset::inherits(cfg);
|
||||
if (select == LoadAndSelect::Never) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue