mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Qualify typename rather than 'auto' keyword
This commit is contained in:
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user