]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Win32 compatibility
authorana <ana@opencascade.com>
Tue, 30 Oct 2012 15:03:29 +0000 (15:03 +0000)
committerana <ana@opencascade.com>
Tue, 30 Oct 2012 15:03:29 +0000 (15:03 +0000)
src/SMESH/SMESH_MeshEditor.cxx

index 9f7a481f0ac1945ceab07ec5cdac15fdc841639e..c7eb286003290d5f27e0455a7ca55c30a893c7ff 100644 (file)
@@ -415,7 +415,7 @@ int SMESH_MeshEditor::Remove (const list< int >& theIDs,
 void SMESH_MeshEditor::Create0DElementsOnAllNodes( const TIDSortedElemSet& elements,
                                                    TIDSortedElemSet&       all0DElems )
 {
-  typedef SMDS_SetIterator<const SMDS_MeshElement*, TIDSortedElemSet::iterator> TSetIterator;
+  typedef SMDS_SetIterator<const SMDS_MeshElement*, TIDSortedElemSet::const_iterator> TSetIterator;
   SMDS_ElemIteratorPtr elemIt;
   if ( elements.empty() )
     elemIt = GetMeshDS()->elementsIterator( SMDSAbs_Node );