mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
FIX: should not throw in noexcept function
Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I6753615903d218698fb5cabafcba46e97b8fdf18
This commit is contained in:
parent
766abf92fa
commit
0d1b8b18ed
1 changed files with 1 additions and 1 deletions
|
@ -1660,7 +1660,7 @@ public:
|
||||||
ConfigOptionEnumsGenericTempl& operator= (const ConfigOption* opt) { this->set(opt); return *this; }
|
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() { return this->values < rhs.values; }
|
||||||
|
|
||||||
bool operator==(const ConfigOptionInts& rhs) const throw()
|
bool operator==(const ConfigOptionInts& rhs) const
|
||||||
{
|
{
|
||||||
if (rhs.type() != this->type())
|
if (rhs.type() != this->type())
|
||||||
throw ConfigurationError("ConfigOptionEnumsGeneric: Comparing incompatible types");
|
throw ConfigurationError("ConfigOptionEnumsGeneric: Comparing incompatible types");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue