diff --git a/src/ifcgeom/mapping/IfcMappedItem.cpp b/src/ifcgeom/mapping/IfcMappedItem.cpp index e13bf486f8..acf97aef3a 100644 --- a/src/ifcgeom/mapping/IfcMappedItem.cpp +++ b/src/ifcgeom/mapping/IfcMappedItem.cpp @@ -31,7 +31,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcMappedItem* inst) { // @todo immutable for caching? // @todo allow for multiple levels of matrix? - auto shapes = taxonomy::cast(map(rmap->MappedRepresentation())); + auto shapes = taxonomy::dcast(map(rmap->MappedRepresentation())); if (shapes == nullptr) { return shapes; }