Fix a compiler warning.

This commit is contained in:
Mark de Wever 2009-03-20 18:34:53 +00:00
parent 38cbf2cc87
commit de88f21885

View file

@ -179,9 +179,9 @@ public:
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()) { }
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) {
void update(iterator_type& iter, const unit_map* /*map*/) {
loc_ = iter->second.get_location();
}