]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESHDS/SMESHDS_SubMesh.hxx
Salome HOME
0020693: EDF 1288 SMESH: Problem to recompute a mesh with a sub-mesh and a conversion...
[modules/smesh.git] / src / SMESHDS / SMESHDS_SubMesh.hxx
index 839f7eabeb246dd20050a1e3ccc975d4497d1236..de086ddaa233b88a2cf1ab9e38a10c1e8d5e2554 100644 (file)
@@ -1,4 +1,4 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -19,6 +19,7 @@
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 //  SMESH SMESHDS : management of mesh data and SMESH document
 //  File   : SMESHDS_SubMesh.hxx
 //  Module : SMESH
@@ -66,10 +67,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<const SMDS_MeshElement*, TIDCompare > TElemSet;
   TElemSet myElements, myNodes;