IFC4X3 codegen #2805

This commit is contained in:
Thomas Krijnen
2023-06-22 14:09:59 +02:00
parent 3266648896
commit 20f279dfa3
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -92,7 +92,7 @@ class aggregate_of {
typename U::list::ptr result(new typename U::list);
for (it i = begin(); i != end(); ++i) {
if ((*i)->as<U>()) {
result->push(r->push((*i)->as<U>());
result->push((*i)->as<U>());
}
}
return result;
@@ -154,7 +154,7 @@ class IFC_PARSE_API aggregate_of_aggregate_of_instance {
typename std::vector<U*> to;
for (inner_it inner = from.begin(); inner != from.end(); ++inner) {
if ((*inner)->as<U>()) {
to.push_back((*i)->as<U>());
to.push_back((*inner)->as<U>());
}
}
result->push(to);