Kaydet (Commit) 778c80a9 authored tarafından David Tardon's avatar David Tardon

reassign iterator on erase

üst 1913c4b0
...@@ -490,7 +490,7 @@ protected: ...@@ -490,7 +490,7 @@ protected:
it != maAdvanced.end(); ++it ) it != maAdvanced.end(); ++it )
if ( *it == w ) if ( *it == w )
{ {
lst.erase( it ); it = lst.erase( it );
return *it; return *it;
} }
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment