mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-31 14:02:00 -06:00
Several minor fixes to Model
This commit is contained in:
parent
6e207d3830
commit
f76e2c2222
6 changed files with 76 additions and 10 deletions
|
@ -488,6 +488,8 @@ class DynamicConfig : public ConfigBase
|
|||
public:
|
||||
DynamicConfig() {};
|
||||
DynamicConfig(const DynamicConfig& other);
|
||||
DynamicConfig& operator= (DynamicConfig other);
|
||||
void swap(DynamicConfig &other);
|
||||
~DynamicConfig();
|
||||
ConfigOption* option(const t_config_option_key opt_key, bool create = false);
|
||||
const ConfigOption* option(const t_config_option_key opt_key) const;
|
||||
|
@ -495,7 +497,6 @@ class DynamicConfig : public ConfigBase
|
|||
void erase(const t_config_option_key opt_key);
|
||||
|
||||
private:
|
||||
DynamicConfig& operator= (const DynamicConfig& other); // we disable this by making it private and unimplemented
|
||||
typedef std::map<t_config_option_key,ConfigOption*> t_options_map;
|
||||
t_options_map options;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue