0020279: [CEA 334] control the "random" use when using mesh algorithms

Use TIDCompare from SMDS_MeshElement.hxx
This commit is contained in:
eap 2009-05-19 15:28:40 +00:00
parent 60009bb9da
commit ea772b0267

View File

@ -66,10 +66,6 @@ class SMESHDS_EXPORT SMESHDS_SubMesh
private: 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<const SMDS_MeshElement*, TIDCompare > TElemSet; typedef std::set<const SMDS_MeshElement*, TIDCompare > TElemSet;
TElemSet myElements, myNodes; TElemSet myElements, myNodes;