From a25f522cc34e5df0d7f1da6def9213cad1b96c56 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 19 Apr 2026 08:33:48 +0200 Subject: [PATCH] typo --- src/ifcparse/hierarchy_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcparse/hierarchy_helper.cpp b/src/ifcparse/hierarchy_helper.cpp index 9d7db7a2d0..1f98c0a9e6 100644 --- a/src/ifcparse/hierarchy_helper.cpp +++ b/src/ifcparse/hierarchy_helper.cpp @@ -625,7 +625,7 @@ Ifc4x3::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc4x3: #ifdef HAS_SCHEMA_4x3_tc1 Ifc4x3_tc1::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc4x3_tc1::IfcRepresentationItem& item, const Ifc4x3_tc1::IfcPresentationStyle& style) { - auto sitem = file.crefile->createate(); + auto sitem = file->create(); sitem.setItem(item); sitem.setStyles(std::vector{style}); return sitem;