From 9e2c7e653f3f0e99329c12bb4d21fe349b04b2fb Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 22 Oct 2025 14:37:10 +0200 Subject: [PATCH] Commit suggestion in #7276 --- src/ifcgeom/mapping/mapping.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/mapping/mapping.cpp b/src/ifcgeom/mapping/mapping.cpp index ebf854eb93..004a41821c 100644 --- a/src/ifcgeom/mapping/mapping.cpp +++ b/src/ifcgeom/mapping/mapping.cpp @@ -373,7 +373,7 @@ const IfcUtil::IfcBaseEntity* mapping::get_single_material_association(const Ifc } #endif -#ifdef SCHEMA_HAS_IfcMaterialConstituent +#ifdef SCHEMA_HAS_IfcMaterialConstituentSet if (associated_material->as()) { IfcSchema::IfcMaterialConstituentSet* constituentset = associated_material->as(); if (settings_.get().value ? constituentset->MaterialConstituents()->get()->size() >= 1 : constituentset->MaterialConstituents()->get()->size() == 1) {