mail[Wesnoth-commits] r24811 - /trunk/src/game_config.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 - 16:09:
Author: brunowolff
Date: Wed Mar 19 16:09:18 2008
New Revision: 24811

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24811&view=rev
Log:
Silence gcc 4.3 wanring by making const void return type void.

Modified:
    trunk/src/game_config.cpp

Modified: trunk/src/game_config.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_config.cpp?rev=24811&r1=24810&r2=24811&view=diff
==============================================================================
--- trunk/src/game_config.cpp (original)
+++ trunk/src/game_config.cpp Wed Mar 19 16:09:18 2008
@@ -212,7 +212,7 @@
                }
        }
 
-       const void add_color_info(const config& v){
+       void add_color_info(const config& v){
                const config::child_list& team_colors = 
v.get_children("color_range");
                for(config::child_list::const_iterator teamC = 
team_colors.begin(); teamC != team_colors.end(); ++teamC) {
                        if(!(**teamC)["id"].empty() && 
!(**teamC)["rgb"].empty()){




Related Messages


Powered by MHonArc, Updated Wed Mar 19 16:21:41 2008