diff --git a/src/Math/RectangularMatrix.h b/src/Math/RectangularMatrix.h index 56c65e66d..b7a2b846e 100644 --- a/src/Math/RectangularMatrix.h +++ b/src/Math/RectangularMatrix.h @@ -161,7 +161,7 @@ template class RectangularMatrix { * @see Vector::operator<(), Vector::operator<=(), Vector::operator>=(), * Vector::operator>() */ - inline constexpr bool operator!=(const RectangularMatrix& other) const { + inline bool operator!=(const RectangularMatrix& other) const { return !operator==(other); } diff --git a/src/Math/Vector.h b/src/Math/Vector.h index 97568a4cf..4be582d1f 100644 --- a/src/Math/Vector.h +++ b/src/Math/Vector.h @@ -197,7 +197,7 @@ template class Vector { } /** @brief Non-equality comparison */ - inline constexpr bool operator!=(const Vector& other) const { + inline bool operator!=(const Vector& other) const { return !operator==(other); }