mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-12 03:42:25 +00:00
Fixed missing return value.
This commit is contained in:
1 parent
86287a28ec
commit
17edc289e9
1 file changed
+1
-1
@@ -434,7 +434,7 @@ public:
|
|||||||
static ConfigOptionType static_type() { return coFloats; }
|
static ConfigOptionType static_type() { return coFloats; }
|
||||||
ConfigOptionType type() const override { return static_type(); }
|
ConfigOptionType type() const override { return static_type(); }
|
||||||
ConfigOption* clone() const override { return new ConfigOptionFloatsTempl(*this); }
|
ConfigOption* clone() const override { return new ConfigOptionFloatsTempl(*this); }
|
||||||
bool operator==(const ConfigOptionFloatsTempl &rhs) const { vectors_equal(this->values, rhs.values); }
|
bool operator==(const ConfigOptionFloatsTempl &rhs) const { return vectors_equal(this->values, rhs.values); }
|
||||||
bool operator==(const ConfigOption &rhs) const override {
|
bool operator==(const ConfigOption &rhs) const override {
|
||||||
if (rhs.type() != this->type())
|
if (rhs.type() != this->type())
|
||||||
throw std::runtime_error("ConfigOptionFloatsTempl: Comparing incompatible types");
|
throw std::runtime_error("ConfigOptionFloatsTempl: Comparing incompatible types");
|
||||||
|
|||||||
Reference in new issue
Block a user