From ea772b0267fd60b9577b47c6dd5a75f3e33d0081 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 19 May 2009 15:28:40 +0000 Subject: [PATCH] 0020279: [CEA 334] control the "random" use when using mesh algorithms Use TIDCompare from SMDS_MeshElement.hxx --- src/SMESHDS/SMESHDS_SubMesh.hxx | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.39.2