From 80885a46352b68930f9688843fe54999c9ba6947 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 15 Jul 2015 14:08:50 +0200 Subject: [PATCH] Fixed a few warnings. --- include/math/vector2d.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ); }