diff --git a/src/ifcgeom/IfcGeomIterator.h b/src/ifcgeom/IfcGeomIterator.h index 5ce8ae2002..22a59dafdb 100644 --- a/src/ifcgeom/IfcGeomIterator.h +++ b/src/ifcgeom/IfcGeomIterator.h @@ -385,7 +385,7 @@ namespace IfcGeom { has_openings = true; } IfcSchema::IfcRelAssociates::list::ptr associations = (*it)->HasAssociations(); - for (auto jt = associations->begin(); jt != associations->end(); ++jt) { + for (IfcSchema::IfcRelAssociates::list::it jt = associations->begin(); jt != associations->end(); ++jt) { IfcSchema::IfcRelAssociatesMaterial* assoc = (*jt)->as(); if (assoc) { if (assoc->RelatingMaterial()->is(IfcSchema::Type::IfcMaterialLayerSetUsage)) {