mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 20:26:11 +08: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
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user