mail[Wesnoth-commits] r29089 - /trunk/src/config_cache.cpp


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

Header


Content

Posted by koraq on August 29, 2008 - 19:28:
Author: mordante
Date: Fri Aug 29 19:28:21 2008
New Revision: 29089

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29089&view=rev
Log:
Fix some compiler errors.

Modified:
    trunk/src/config_cache.cpp

Modified: trunk/src/config_cache.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/config_cache.cpp?rev=29089&r1=29088&r2=29089&view=diff
==============================================================================
--- trunk/src/config_cache.cpp (original)
+++ trunk/src/config_cache.cpp Fri Aug 29 19:28:21 2008
@@ -124,7 +124,7 @@
                read_gz(cfg, *stream);
        }
        
-       void config_cache::read_file(const std::string& path, config& cfg, 
preproc_map& defines_map)
+       void config_cache::read_file(const std::string& path, config& cfg, 
preproc_map& /*defines_map*/)
        {
                std::string error_log;
                scoped_istream stream = istream_file(path);
@@ -153,7 +153,7 @@
                defines_active_map_[def.first] = def.second;
        }
 
-       bool compare_define(const preproc_map::value_type& a, const 
preproc_map::value_type& b)
+       static bool compare_define(const preproc_map::value_type& a, const 
preproc_map::value_type& b)
        {
                if (a.first < b.first)
                        return true;




Related Messages


Powered by MHonArc, Updated Fri Aug 29 19:41:43 2008