From 3d00133235be7fb6b9910416e63708b984a9f3bb Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 10 Oct 2005 08:40:16 +0000 Subject: [PATCH] Merging with V3_1_0a --- src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx | 6 +++--- src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx b/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx index e88e3598d..2fc8b188b 100644 --- a/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx +++ b/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx @@ -580,7 +580,7 @@ list DriverMED_R_SMESHDS_Mesh::GetGroupNames() { DriverMED_FamilyPtr aFamily = (*aFamsIter).second; const MED::TStringSet& aGroupNames = aFamily->GetGroupNames(); - set::iterator aGrNamesIter = aGroupNames.begin(); + set::const_iterator aGrNamesIter = aGroupNames.begin(); for (; aGrNamesIter != aGroupNames.end(); aGrNamesIter++) { string aName = *aGrNamesIter; @@ -609,7 +609,7 @@ void DriverMED_R_SMESHDS_Mesh::GetGroup(SMESHDS_Group* theGroup) if (aFamily->MemberOf(aGroupName)) { const set& anElements = aFamily->GetElements(); - set::iterator anElemsIter = anElements.begin(); + set::const_iterator anElemsIter = anElements.begin(); const SMDS_MeshElement * element = 0; for (; anElemsIter != anElements.end(); anElemsIter++) { @@ -635,7 +635,7 @@ void DriverMED_R_SMESHDS_Mesh::GetSubMesh (SMESHDS_SubMesh* theSubMesh, if (aFamily->MemberOf(aName)) { const set& anElements = aFamily->GetElements(); - set::iterator anElemsIter = anElements.begin(); + set::const_iterator anElemsIter = anElements.begin(); if (aFamily->GetType() == SMDSAbs_Node) { for (; anElemsIter != anElements.end(); anElemsIter++) diff --git a/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx b/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx index 721bb5f07..a1a97dd70 100644 --- a/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx +++ b/src/DriverMED/DriverMED_W_SMESHDS_Mesh.cxx @@ -321,7 +321,7 @@ Driver_Mesh::Status DriverMED_W_SMESHDS_Mesh::Perform() int aFamId = (*aFamsIter)->GetId(); const set& anElems = (*aFamsIter)->GetElements(); - set::iterator anElemsIter = anElems.begin(); + set::const_iterator anElemsIter = anElems.begin(); for (; anElemsIter != anElems.end(); anElemsIter++) { anElemFamMap[*anElemsIter] = aFamId; -- 2.39.2