mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47: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
|
@ -572,7 +572,7 @@ void StaticConfig::set_defaults()
|
|||
t_config_option_keys StaticConfig::keys() const
|
||||
{
|
||||
t_config_option_keys keys;
|
||||
assert(this->def != nullptr);
|
||||
assert(this->def() != nullptr);
|
||||
for (const auto &opt_def : this->def()->options)
|
||||
if (this->option(opt_def.first) != nullptr)
|
||||
keys.push_back(opt_def.first);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue