mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
New erase() method for DynamicConfig objects
This commit is contained in:
parent
b5b8fb606f
commit
42519174cd
4 changed files with 8 additions and 1 deletions
|
@ -289,6 +289,11 @@ DynamicConfig::keys(t_config_option_keys *keys) {
|
|||
keys->push_back(it->first);
|
||||
}
|
||||
|
||||
void
|
||||
DynamicConfig::erase(const t_config_option_key opt_key) {
|
||||
this->options.erase(opt_key);
|
||||
}
|
||||
|
||||
void
|
||||
StaticConfig::keys(t_config_option_keys *keys) {
|
||||
for (t_optiondef_map::const_iterator it = this->def->begin(); it != this->def->end(); ++it) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue