diff --git a/src/ifcparse/IfcHierarchyHelper.cpp b/src/ifcparse/IfcHierarchyHelper.cpp index 6dc9d95319..247b2b49f4 100644 --- a/src/ifcparse/IfcHierarchyHelper.cpp +++ b/src/ifcparse/IfcHierarchyHelper.cpp @@ -130,7 +130,7 @@ typename Schema::IfcProject* IfcHierarchyHelper::addProject(typename Sch template void IfcHierarchyHelper::relatePlacements(typename Schema::IfcProduct* parent, typename Schema::IfcProduct* product) { typename Schema::IfcObjectPlacement* place = product->hasObjectPlacement() ? product->ObjectPlacement() : 0; - if (place && place->declaration().is(typename Schema::IfcLocalPlacement::Class())) { + if (place && place->declaration().is(Schema::IfcLocalPlacement::Class())) { typename Schema::IfcLocalPlacement* local_place = (typename Schema::IfcLocalPlacement*) place; if (parent->hasObjectPlacement()) { local_place->setPlacementRelTo(parent->ObjectPlacement());