]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Infinite circle during work on windows version
authorabd <abd@opencascade.com>
Mon, 21 Apr 2008 11:22:43 +0000 (11:22 +0000)
committerabd <abd@opencascade.com>
Mon, 21 Apr 2008 11:22:43 +0000 (11:22 +0000)
src/DF/DF_Attribute.cxx

index c392dd9d201d41676d7ad9b23241998e0a1e5e77..4b2a06f69b0c172ec99055766a3ea7b4e34d8c43 100644 (file)
@@ -20,7 +20,8 @@ DF_Attribute::~DF_Attribute()
     map<string, DF_Attribute*>::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;
        }        
     }
   }