]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
use the hint when inserting into the std::set
authoreap <eap@opencascade.com>
Wed, 10 Aug 2011 09:52:47 +0000 (09:52 +0000)
committereap <eap@opencascade.com>
Wed, 10 Aug 2011 09:52:47 +0000 (09:52 +0000)
src/SMDS/SMDS_MeshGroup.cxx

index 842e6c2845fef39e24f9a5b3bb33541b3f010e42..a8ff27f8b6ded4949b1367f773b1c15b8deb80e4 100644 (file)
@@ -131,7 +131,7 @@ void SMDS_MeshGroup::Add(const SMDS_MeshElement * theElem)
     return;
   }
         
-  myElements.insert(theElem);
+  myElements.insert(myElements.end(), theElem);
   ++myTic;
 }