From 0d1b8b18ed301cf5d801f5cf8f133467fd34d26d Mon Sep 17 00:00:00 2001 From: "salt.wei" Date: Wed, 21 Jun 2023 18:35:10 +0800 Subject: [PATCH] FIX: should not throw in noexcept function Signed-off-by: salt.wei Change-Id: I6753615903d218698fb5cabafcba46e97b8fdf18 --- 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 f3ab945ce..c2bcdc1a7 100644 --- a/src/libslic3r/Config.hpp +++ b/src/libslic3r/Config.hpp @@ -1660,7 +1660,7 @@ public: ConfigOptionEnumsGenericTempl& operator= (const ConfigOption* opt) { this->set(opt); return *this; } bool operator< (const ConfigOptionInts& rhs) const throw() { return this->values < rhs.values; } - bool operator==(const ConfigOptionInts& rhs) const throw() + bool operator==(const ConfigOptionInts& rhs) const { if (rhs.type() != this->type()) throw ConfigurationError("ConfigOptionEnumsGeneric: Comparing incompatible types");