Win32 compatibility

This commit is contained in:
ana 2012-10-30 15:03:29 +00:00
parent 4226c05219
commit a49e1b8fe4

View File

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