diff --git a/src/examples/IfcOpenHouse.cpp b/src/examples/IfcOpenHouse.cpp index 189dd4320e..4f7c07ec6b 100644 --- a/src/examples/IfcOpenHouse.cpp +++ b/src/examples/IfcOpenHouse.cpp @@ -341,7 +341,7 @@ int main() { null, null, #ifdef USE_IFC4 - file.instances_by_type()->generalize(), + file.instances_by_type()->as(), #else file.instances_by_type()->as(), #endif