Better way to avoid unused param warning.
This commit is contained in:
parent
60edd13cec
commit
76d14e799f
2 changed files with 2 additions and 3 deletions
|
@ -425,9 +425,8 @@ void move::remove_temp_modifier(unit_map&)
|
|||
mover_.reset();
|
||||
}
|
||||
|
||||
void move::draw_hex(const map_location& hex)
|
||||
void move::draw_hex(map_location const&)
|
||||
{
|
||||
(void) hex; //temporary to avoid unused param warning
|
||||
}
|
||||
|
||||
void move::do_hide()
|
||||
|
|
|
@ -70,7 +70,7 @@ public:
|
|||
virtual void remove_temp_modifier(unit_map& unit_map);
|
||||
|
||||
/** Gets called by display when drawing a hex, to allow actions to draw to the screen. */
|
||||
virtual void draw_hex(const map_location& hex);
|
||||
virtual void draw_hex(map_location const& hex);
|
||||
|
||||
virtual map_location get_numbering_hex() const;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue