mail[Wesnoth-commits] r24827 - /trunk/src/mouse_events.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by bruno on March 19, 2008 - 17:06:
Author: brunowolff
Date: Wed Mar 19 16:52:27 2008
New Revision: 24827

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24827&view=rev
Log:
Silence gcc 4.3 warnings about const return type.

Modified:
    trunk/src/mouse_events.hpp

Modified: trunk/src/mouse_events.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/mouse_events.hpp?rev=24827&r1=24826&r2=24827&view=diff
==============================================================================
--- trunk/src/mouse_events.hpp (original)
+++ trunk/src/mouse_events.hpp Wed Mar 19 16:52:27 2008
@@ -53,8 +53,8 @@
        paths get_current_paths() { return current_paths_; }
        const gamemap::location& get_last_hex() const { return last_hex_; }
        gamemap::location get_selected_hex() const { return selected_hex_; }
-       const bool get_undo() const { return undo_; }
-       const bool get_show_menu() const { return show_menu_; }
+       bool get_undo() const { return undo_; }
+       bool get_show_menu() const { return show_menu_; }
        void set_path_turns(const int path_turns) { path_turns_ = path_turns; 
}
        void set_current_paths(paths new_paths);
        void set_selected_hex(gamemap::location hex) { selected_hex_ = hex; }




Related Messages


Powered by MHonArc, Updated Wed Mar 19 17:41:15 2008