1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-18 09:14:27 +00:00

Several minor fixes to Model

This commit is contained in:
Alessandro Ranellucci
2014-05-08 13:33:43 +02:00
parent 6e207d3830
commit f76e2c2222
6 changed files with 76 additions and 10 deletions
+2 -1
View File
@@ -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;
};