Qualify typename rather than 'auto' keyword

This commit is contained in:
Thomas Krijnen
2014-07-02 11:53:44 +02:00
parent 31ca1ac1b5
commit f7f949b37b
+1 -1
View File
@@ -147,7 +147,7 @@ IfcEntities IfcParse::IfcUntypedEntity::get_inverse(const std::string& a) {
std::pair<IfcSchema::Type::Enum, unsigned> 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); }