From: eap Date: Wed, 10 Aug 2011 09:52:47 +0000 (+0000) Subject: use the hint when inserting into the std::set X-Git-Tag: V6_4_0a1~141 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c9acf11dee68c6a6a7bccfc204eab1e302ebd19e;p=modules%2Fsmesh.git use the hint when inserting into the std::set --- diff --git a/src/SMDS/SMDS_MeshGroup.cxx b/src/SMDS/SMDS_MeshGroup.cxx index 842e6c284..a8ff27f8b 100644 --- a/src/SMDS/SMDS_MeshGroup.cxx +++ b/src/SMDS/SMDS_MeshGroup.cxx @@ -131,7 +131,7 @@ void SMDS_MeshGroup::Add(const SMDS_MeshElement * theElem) return; } - myElements.insert(theElem); + myElements.insert(myElements.end(), theElem); ++myTic; }