]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL8310
authorsan <san@opencascade.com>
Fri, 25 Feb 2005 14:37:37 +0000 (14:37 +0000)
committersan <san@opencascade.com>
Fri, 25 Feb 2005 14:37:37 +0000 (14:37 +0000)
src/SMESH/SMESH_Mesh.cxx

index db8bc5f78301499b2ca2c044bd45a726364ea9c0..06dd09d73e758a8a6d9297986c2da72c0aae0d02 100644 (file)
@@ -992,8 +992,8 @@ void SMESH_Mesh::RemoveGroup (const int theGroupID)
   if (_mapGroup.find(theGroupID) == _mapGroup.end())
     return;
   GetMeshDS()->RemoveGroup( _mapGroup[theGroupID]->GetGroupDS() );
-  _mapGroup.erase (theGroupID);
   delete _mapGroup[theGroupID];
+  _mapGroup.erase (theGroupID);
 }
 
 //=============================================================================