From: eap Date: Tue, 19 May 2009 15:28:40 +0000 (+0000) Subject: 0020279: [CEA 334] control the "random" use when using mesh algorithms X-Git-Tag: V5_1_2rc1~31 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea772b0267fd60b9577b47c6dd5a75f3e33d0081;p=modules%2Fsmesh.git 0020279: [CEA 334] control the "random" use when using mesh algorithms Use TIDCompare from SMDS_MeshElement.hxx --- diff --git a/src/SMESHDS/SMESHDS_SubMesh.hxx b/src/SMESHDS/SMESHDS_SubMesh.hxx index 839f7eabe..0b18640f6 100644 --- a/src/SMESHDS/SMESHDS_SubMesh.hxx +++ b/src/SMESHDS/SMESHDS_SubMesh.hxx @@ -66,10 +66,6 @@ class SMESHDS_EXPORT SMESHDS_SubMesh private: - struct TIDCompare { // to have nodes and elements sorted by ID - bool operator () (const SMDS_MeshElement* e1, const SMDS_MeshElement* e2) const - { return e1->GetID() < e2->GetID(); } - }; typedef std::set TElemSet; TElemSet myElements, myNodes;