Fix various small warnings (#4296)
* Fix `inconsistent-missing-override` warnings * Fix `final-dtor-non-final-class` warnings * Fix `ambiguous-reversed-operator` warnings
This commit is contained in:
@@ -27,12 +27,12 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
bool operator==(const FlagsEnum<T> &other)
|
||||
bool operator==(const FlagsEnum<T> &other) const
|
||||
{
|
||||
return this->value_ == other.value_;
|
||||
}
|
||||
|
||||
bool operator!=(const FlagsEnum<T> &other)
|
||||
bool operator!=(const FlagsEnum<T> &other) const
|
||||
{
|
||||
return this->value_ != other.value_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user