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:
pajlada
2023-01-08 14:32:52 +01:00
committed by GitHub
parent 1faa973402
commit 5ad8ca791c
5 changed files with 12 additions and 5 deletions
+2 -2
View File
@@ -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_;
}