mail[Wesnoth-commits] r33932 - /trunk/src/unit_map.hpp


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

Header


Content

Posted by koraq on March 20, 2009 - 19:34:
Author: mordante
Date: Fri Mar 20 19:34:53 2009
New Revision: 33932

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33932&view=rev
Log:
Fix a compiler warning.

Modified:
    trunk/src/unit_map.hpp

Modified: trunk/src/unit_map.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_map.hpp?rev=33932&r1=33931&r2=33932&view=diff
==============================================================================
--- trunk/src/unit_map.hpp (original)
+++ trunk/src/unit_map.hpp Fri Mar 20 19:34:53 2009
@@ -179,9 +179,9 @@
                typedef typename iter_types::iterator_type iterator_type;
 
                unit_xy_policy() { }
-               unit_xy_policy(const iterator_type& i, const unit_map* map) : 
loc_(i->second.get_location()) { }
-
-               void update(iterator_type& iter, const unit_map* map) {
+               unit_xy_policy(const iterator_type& i, const unit_map* 
/*map*/) : loc_(i->second.get_location()) { }
+
+               void update(iterator_type& iter, const unit_map* /*map*/) {
                        loc_ = iter->second.get_location();
                }
 




Related Messages


Powered by MHonArc, Updated Fri Mar 20 20:20:23 2009