Author: mordante
Date: Mon Aug 29 21:40:29 2011
New Revision: 50944

URL: http://svn.gna.org/viewcvs/wesnoth?rev=50944&view=rev
Log:
Make a member function a const member function.

Issue found by cppcheck.

Modified:
    trunk/src/tools/schema/tag.hpp

Modified: trunk/src/tools/schema/tag.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tools/schema/tag.hpp?rev=50944&r1=50943&r2=50944&view=diff
==============================================================================
--- trunk/src/tools/schema/tag.hpp (original)
+++ trunk/src/tools/schema/tag.hpp Mon Aug 29 21:40:29 2011
@@ -250,7 +250,7 @@
        bool operator < ( const class_tag& t) const{
                return name_ < t.name_;
        }
-       bool operator == (const class_tag & other){
+       bool operator == (const class_tag & other) const {
                return name_ == other.name_;
        }
        /**


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to