Commit 1870d2b4 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[pool] Reintroduce the fact than in the destructor we should go at the

beginning of the map.
parent 9a99f20a
...@@ -60,7 +60,9 @@ PoolStorage:: ...@@ -60,7 +60,9 @@ PoolStorage::
dgDEBUGIN(15); dgDEBUGIN(15);
for( Entities::iterator iter=entityMap.begin (); iter!=entityMap.end (); for( Entities::iterator iter=entityMap.begin (); iter!=entityMap.end ();
iter++) // Here, this is normal that the next iteration is at the beginning
// of the map as deregisterEntity remove the element iter from the map.
iter=entityMap.begin())
{ {
dgDEBUG(15) << "Delete \"" dgDEBUG(15) << "Delete \""
<< (iter->first) <<"\""<<std::endl; << (iter->first) <<"\""<<std::endl;
......
Supports Markdown
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