From 23beb096a0c7d54ef2527401be61b09af2c002fe Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Tue, 20 Jun 2017 19:47:53 +0200 Subject: [PATCH] Remove auto keywords --- src/ifcgeom/IfcGeomSerialisation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcgeom/IfcGeomSerialisation.cpp b/src/ifcgeom/IfcGeomSerialisation.cpp index 7b41c2fa8f..20f82a945e 100644 --- a/src/ifcgeom/IfcGeomSerialisation.cpp +++ b/src/ifcgeom/IfcGeomSerialisation.cpp @@ -479,9 +479,9 @@ int convert_to_ifc(const TopoDS_Shape& s, U*& item, bool advanced) { faces->push(f); } else { /// Cleanup: - for (auto it = faces->begin(); it != faces->end(); ++it) { + for (IfcSchema::IfcFace::list::it it = faces->begin(); it != faces->end(); ++it) { IfcEntityList::ptr data = IfcParse::traverse(*it)->unique(); - for (auto jt = data->begin(); jt != data->end(); ++jt) { + for (IfcEntityList::it jt = data->begin(); jt != data->end(); ++jt) { delete *jt; } }