Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-05-30 21:09:34 +0300
committerbubnikv <bubnikv@gmail.com>2017-05-30 21:09:34 +0300
commit102329c54da5e02416f3bed4677a2293a44f2164 (patch)
tree13f1276209a4777c7d57b5bb1a0f67258017eb97 /xs/src/libslic3r/Config.hpp
parente1ca1a82fb57367fb54e417d2ca19d071e43755b (diff)
Further refactoring, C++11 conversion and code simplification.
Diffstat (limited to 'xs/src/libslic3r/Config.hpp')
-rw-r--r--xs/src/libslic3r/Config.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xs/src/libslic3r/Config.hpp b/xs/src/libslic3r/Config.hpp
index 1de950d54..c5b0fb880 100644
--- a/xs/src/libslic3r/Config.hpp
+++ b/xs/src/libslic3r/Config.hpp
@@ -660,7 +660,8 @@ public:
{ return this->optptr(opt_key, create); }
virtual ConfigOption* optptr(const t_config_option_key &opt_key, bool create = false) = 0;
virtual t_config_option_keys keys() const = 0;
- void apply(const ConfigBase &other, bool ignore_nonexistent = false);
+ void apply(const ConfigBase &other, bool ignore_nonexistent = false) { this->apply(other, other.keys(), ignore_nonexistent); }
+ void apply(const ConfigBase &other, const t_config_option_keys &keys, bool ignore_nonexistent = false);
bool equals(const ConfigBase &other) const { return this->diff(other).empty(); }
t_config_option_keys diff(const ConfigBase &other) const;
std::string serialize(const t_config_option_key &opt_key) const;