diff --git a/include/math/vector2d.h b/include/math/vector2d.h index 5bb43e5872..bba2a4af0a 100644 --- a/include/math/vector2d.h +++ b/include/math/vector2d.h @@ -228,10 +228,10 @@ public: VECTOR2 operator/( const T& aFactor ) const; /// Equality operator - const bool operator==( const VECTOR2& aVector ) const; + bool operator==( const VECTOR2& aVector ) const; /// Not equality operator - const bool operator!=( const VECTOR2& aVector ) const; + bool operator!=( const VECTOR2& aVector ) const; /// Smaller than operator bool operator<( const VECTOR2& aVector ) const; @@ -503,14 +503,14 @@ bool VECTOR2::operator>=( const VECTOR2& aVector ) const template -bool const VECTOR2::operator==( VECTOR2 const& aVector ) const +bool VECTOR2::operator==( VECTOR2 const& aVector ) const { return ( aVector.x == x ) && ( aVector.y == y ); } template -bool const VECTOR2::operator!=( VECTOR2 const& aVector ) const +bool VECTOR2::operator!=( VECTOR2 const& aVector ) const { return ( aVector.x != x ) || ( aVector.y != y ); }