fix dereferencing end iterator
exchange a and b in a && b I wonder why it didn't show up until AI's changes though.
This commit is contained in:
parent
26cc822ada
commit
6142f5a687
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ public:
|
|||
iterator_type new_i(i_);
|
||||
do{
|
||||
++new_i;
|
||||
}while ((new_i->second.unit == NULL) && (new_i != the_map().end() )) ;
|
||||
}while ((new_i != the_map().end()) && (new_i->second.unit == NULL)) ;
|
||||
dec();
|
||||
i_ = new_i;
|
||||
inc();
|
||||
|
|
Loading…
Add table
Reference in a new issue