#1224 update inverse cache upon deletion

This commit is contained in:
Thomas Krijnen
2021-01-12 21:49:17 +01:00
parent b78e710479
commit ab8aa95479
+1
View File
@@ -1861,6 +1861,7 @@ void IfcFile::removeEntity(IfcUtil::IfcBaseClass* entity) {
std::vector<unsigned>& ids = byref_it->second;
ids.erase(std::remove(ids.begin(), ids.end(), id), ids.end());
}
by_ref_cached_.erase(name);
}
}