From 9271a86bc5435ae159d99c55b9ad822eb231fec2 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 20 May 2009 15:39:36 +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