mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
Making it compile on GCC 4.9
This commit is contained in:
parent
a7298d9d89
commit
3bdb12ada1
5 changed files with 13 additions and 11 deletions
|
@ -183,8 +183,8 @@ void Preset::normalize(DynamicPrintConfig &config)
|
|||
if (key == "compatible_printers")
|
||||
continue;
|
||||
auto *opt = config.option(key, false);
|
||||
assert(opt != nullptr);
|
||||
assert(opt->is_vector());
|
||||
/*assert(opt != nullptr);
|
||||
assert(opt->is_vector());*/
|
||||
if (opt != nullptr && opt->is_vector())
|
||||
static_cast<ConfigOptionVectorBase*>(opt)->resize(n, defaults.option(key));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue