pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] r3827 - trunk/pingus/src/math


From: grumbel at BerliOS
Subject: [Pingus-CVS] r3827 - trunk/pingus/src/math
Date: Tue, 15 Jul 2008 09:59:28 +0200

Author: grumbel
Date: 2008-07-15 09:59:27 +0200 (Tue, 15 Jul 2008)
New Revision: 3827

Modified:
   trunk/pingus/src/math/vector2i.hpp
Log:
Fixed const issue in operator==

Modified: trunk/pingus/src/math/vector2i.hpp
===================================================================
--- trunk/pingus/src/math/vector2i.hpp  2008-07-15 07:14:25 UTC (rev 3826)
+++ trunk/pingus/src/math/vector2i.hpp  2008-07-15 07:59:27 UTC (rev 3827)
@@ -73,7 +73,7 @@
     return *this;
   }
 
-  bool operator== (const Vector2i& other)
+  bool operator== (const Vector2i& other) const
   {
     return (other.x == x && other.y == y);
   }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]