Author: brunowolff
Date: Wed Mar 19 18:28:53 2008
New Revision: 24859
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24859&view=rev
Log:
Silence gcc 4.3 warnings about const return type.
Modified:
trunk/src/play_controller.hpp
trunk/src/playmp_controller.hpp
Modified: trunk/src/play_controller.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/play_controller.hpp?rev=24859&r1=24858&r2=24859&view=diff
==============================================================================
--- trunk/src/play_controller.hpp (original)
+++ trunk/src/play_controller.hpp Wed Mar 19 18:28:53 2008
@@ -74,7 +74,7 @@
virtual void play_side(const unsigned int team_num, bool save) = 0;
- const int get_ticks();
+ int get_ticks();
protected:
void handle_event(const SDL_Event& event);
Modified: trunk/src/playmp_controller.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/playmp_controller.hpp?rev=24859&r1=24858&r2=24859&view=diff
==============================================================================
--- trunk/src/playmp_controller.hpp (original)
+++ trunk/src/playmp_controller.hpp Wed Mar 19 18:28:53 2008
@@ -33,7 +33,7 @@
bool skip_replay, bool is_host);
~playmp_controller();
- const bool is_host() { return is_host_; }
+ bool is_host() { return is_host_; }
static unsigned int replay_last_turn() { return replay_last_turn_; }
static void set_replay_last_turn(unsigned int turn);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits