mail[Wesnoth-commits] r24868 - /trunk/src/titlescreen.cpp


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

Header


Content

Posted by bruno on March 19, 2008 - 18:46:
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... 




Related Messages


Powered by MHonArc, Updated Wed Mar 19 19:02:19 2008