]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL8310
authorsan <san@opencascade.com>
Thu, 3 Mar 2005 15:18:07 +0000 (15:18 +0000)
committersan <san@opencascade.com>
Thu, 3 Mar 2005 15:18:07 +0000 (15:18 +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);
 }
 
 //=============================================================================