diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2021-05-24 16:00:08 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2021-05-24 16:00:08 +0300 |
commit | 92b4f0542a38d6195c0f00b059a710853f2d4851 (patch) | |
tree | acd5c05e05f32b06d350c58e8eff37554e858e14 | |
parent | fd97a49ccc3d128f7410cfb357f24e98404ecc5a (diff) |
Another compilation fix.
-rw-r--r-- | src/libslic3r/Config.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libslic3r/Config.hpp b/src/libslic3r/Config.hpp index 1b9db373f..090ad13be 100644 --- a/src/libslic3r/Config.hpp +++ b/src/libslic3r/Config.hpp @@ -871,8 +871,8 @@ public: ConfigOptionType type() const override { return static_type(); } ConfigOption* clone() const override { return new ConfigOptionPercentsTempl(*this); } ConfigOptionPercentsTempl& operator=(const ConfigOption *opt) { this->set(opt); return *this; } - bool operator==(const ConfigOptionPercentsTempl &rhs) const throw() { return this->values == rhs.values; } - bool operator< (const ConfigOptionPercentsTempl &rhs) const throw() { return vectors_lower(this->values, rhs.values); } + bool operator==(const ConfigOptionPercentsTempl &rhs) const throw() { return ConfigOptionFloatsTempl<NULLABLE>::vectors_equal(this->values, rhs.values); } + bool operator< (const ConfigOptionPercentsTempl &rhs) const throw() { return ConfigOptionFloatsTempl<NULLABLE>::vectors_lower(this->values, rhs.values); } std::string serialize() const override { |