From 17edc289e92015ff39495b6f5c11159ac4de97e1 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 25 Jul 2019 17:18:51 +0200 Subject: [PATCH] Fixed missing return value. --- src/libslic3r/Config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Config.hpp b/src/libslic3r/Config.hpp index f1fab91fd..9112261a8 100644 --- a/src/libslic3r/Config.hpp +++ b/src/libslic3r/Config.hpp @@ -434,7 +434,7 @@ public: static ConfigOptionType static_type() { return coFloats; } ConfigOptionType type() const override { return static_type(); } 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 { if (rhs.type() != this->type()) throw std::runtime_error("ConfigOptionFloatsTempl: Comparing incompatible types");