Skip to content

Commit 8c707f3

Browse files
committed
Fix issue building IfcOpenHouse for IFC4
1 parent 9560e0b commit 8c707f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/examples/IfcOpenHouse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ int main() {
338338
null,
339339
null,
340340
#ifdef USE_IFC4
341-
file.instances_by_type<IfcSchema::IfcWallStandardCase>()->generalize(),
341+
file.instances_by_type<IfcSchema::IfcWallStandardCase>()->as<IfcSchema::IfcDefinitionSelect>(),
342342
#else
343343
file.instances_by_type<IfcSchema::IfcWallStandardCase>()->as<IfcSchema::IfcRoot>(),
344344
#endif

0 commit comments

Comments
 (0)