From: abd Date: Mon, 21 Apr 2008 11:22:43 +0000 (+0000) Subject: Infinite circle during work on windows version X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=19ceff62cdfbe2c8471f3acf7d50d103069f289f;p=modules%2Fkernel.git Infinite circle during work on windows version --- diff --git a/src/DF/DF_Attribute.cxx b/src/DF/DF_Attribute.cxx index c392dd9d2..4b2a06f69 100644 --- a/src/DF/DF_Attribute.cxx +++ b/src/DF/DF_Attribute.cxx @@ -20,7 +20,8 @@ DF_Attribute::~DF_Attribute() map::iterator mi; for(mi =_node->_attributes.begin(); mi != _node->_attributes.end(); mi++) { if(mi->second == this) { - _node->_attributes.erase(mi); + _node->_attributes.erase(mi); + break; } } }