From: eap Date: Wed, 20 May 2009 15:39:36 +0000 (+0000) Subject: 0020279: [CEA 334] control the "random" use when using mesh algorithms X-Git-Tag: V4_1_0_maintainance_FINAL~83 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9271a86bc5435ae159d99c55b9ad822eb231fec2;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;