mail[Wesnoth-commits] r24808 - /trunk/src/game_config.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 - 15:56:
Author: brunowolff
Date: Wed Mar 19 15:51:48 2008
New Revision: 24808

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24808&view=rev
Log:
Silence gcc 4.3 warning about const void return type by just using void.
const void doesn't make much sense anyway.

Modified:
    trunk/src/game_config.hpp

Modified: trunk/src/game_config.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_config.hpp?rev=24808&r1=24807&r2=24808&view=diff
==============================================================================
--- trunk/src/game_config.hpp (original)
+++ trunk/src/game_config.hpp Wed Mar 19 15:51:48 2008
@@ -96,7 +96,7 @@
 
        void load_config(const config* cfg);
 
-       const void add_color_info(const config& v);
+       void add_color_info(const config& v);
        const std::vector<Uint32>& tc_info(const std::string& name);
        const color_range& color_info(const std::string& name);
 




Related Messages


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