From f7f949b37badc9abc8ec093dd8b766304acb8b7d Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 2 Jul 2014 11:53:44 +0200 Subject: [PATCH] Qualify typename rather than 'auto' keyword --- src/ifcparse/IfcUntypedEntity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcparse/IfcUntypedEntity.cpp b/src/ifcparse/IfcUntypedEntity.cpp index 2c8b5d624b..edb0c86c62 100644 --- a/src/ifcparse/IfcUntypedEntity.cpp +++ b/src/ifcparse/IfcUntypedEntity.cpp @@ -147,7 +147,7 @@ IfcEntities IfcParse::IfcUntypedEntity::get_inverse(const std::string& a) { std::pair inv = IfcSchema::Type::GetInverseAttribute(_type, a); IfcEntities invs = entity->getInverse(inv.first); IfcEntities filtered(new IfcEntityList()); - for (auto it = invs->begin(); it != invs->end(); ++it) { + for (IfcEntityList::it it = invs->begin(); it != invs->end(); ++it) { try { const int id = *(*it)->entity->getArgument(inv.second); if (id == this->entity->id()) { filtered->push(*it); }