Whiteboard/side_actions: test to try and diagnose a problem under msvc 9.
This commit is contained in:
parent
297e8917f4
commit
9744d8bacd
1 changed files with 1 additions and 2 deletions
|
@ -513,8 +513,7 @@ side_actions::iterator side_actions::find_last_action_of(unit const* unit, side_
|
|||
reverse_iterator position(start_position);
|
||||
for (--position ; position != rend(); ++position)
|
||||
{
|
||||
action_ptr action = *position;
|
||||
if (action->get_unit() == unit)
|
||||
if ((*position)->get_unit() == unit)
|
||||
{
|
||||
iterator found_position = position.base();
|
||||
//need to decrement after changing from reverse to regular operator
|
||||
|
|
Loading…
Add table
Reference in a new issue