Author: mordante
Date: Wed Jul  9 09:16:01 2008
New Revision: 27870

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27870&view=rev
Log:
Remove some useless const modifiers.

Modified:
    trunk/src/ai_interface.hpp
    trunk/src/formula_ai.hpp

Modified: trunk/src/ai_interface.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai_interface.hpp?rev=27870&r1=27869&r2=27870&view=diff
==============================================================================
--- trunk/src/ai_interface.hpp (original)
+++ trunk/src/ai_interface.hpp Wed Jul  9 09:16:01 2008
@@ -124,11 +124,11 @@
        events::generic_event& enemy_attacked() { return enemy_attacked_; }
 
         // If the AI manager should manage the AI once constructed.
-        virtual const bool manager_manage_ai() const { return false ; } ;
+        virtual bool manager_manage_ai() const { return false ; } ;
 
         // If an AI manager should reap the AI at end of game
         // Older AIs should use the default - false.
-        virtual const bool manager_reap_ai() { return false ; } ;
+        virtual bool manager_reap_ai() { return false ; } ;
 
 protected:
        /**

Modified: trunk/src/formula_ai.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/formula_ai.hpp?rev=27870&r1=27869&r2=27870&view=diff
==============================================================================
--- trunk/src/formula_ai.hpp (original)
+++ trunk/src/formula_ai.hpp Wed Jul  9 09:16:01 2008
@@ -86,7 +86,7 @@
        };
 
         // If the AI manager should manager the AI once constructed.
-        virtual const bool manager_manage_ai() const { return true ; } ;
+        virtual bool manager_manage_ai() const { return true ; } ;
 
        void swap_move_map(move_map_backup& backup);
 


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

Reply via email to