Author: brunowolff
Date: Wed Mar 19 18:46:27 2008
New Revision: 24868
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24868&view=rev
Log:
Silence gcc 4.3 warning by removing const from const return type.
Modified:
trunk/src/titlescreen.cpp
Modified: trunk/src/titlescreen.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/titlescreen.cpp?rev=24868&r1=24867&r2=24868&view=diff
==============================================================================
--- trunk/src/titlescreen.cpp (original)
+++ trunk/src/titlescreen.cpp Wed Mar 19 18:46:27 2008
@@ -126,7 +126,7 @@
//! Read the file with the tips-of-the-day.
-static const void read_tips_of_day(config& tips_of_day)
+static void read_tips_of_day(config& tips_of_day)
{
tips_of_day.clear();
LOG_CONFIG << "Loading tips of day\n";
@@ -145,7 +145,7 @@
}
//! Go to the next tips-of-the-day
-static const void next_tip_of_day(config& tips_of_day, bool reverse = false)
+static void next_tip_of_day(config& tips_of_day, bool reverse = false)
{
// we just rotate the tip list, to avoid the need to keep track
// of the current one, and keep it valid, cycle it, etc...
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits