diff --git a/src/ifcgeom/AbstractKernel.h b/src/ifcgeom/AbstractKernel.h index 761f03e983..34eb5bde8a 100644 --- a/src/ifcgeom/AbstractKernel.h +++ b/src/ifcgeom/AbstractKernel.h @@ -80,7 +80,7 @@ namespace { struct dispatch_conversion { static bool dispatch(ifcopenshell::geometry::kernels::AbstractKernel* kernel, const ifcopenshell::geometry::taxonomy::ptr item, IfcGeom::ConversionResults& results) { if (N == item->kind()) { - auto concrete_item = taxonomy::template cast>(item); + auto concrete_item = ifcopenshell::geometry::taxonomy::template cast>(item); return kernel->convert_impl(concrete_item, results); } else { return dispatch_conversion::dispatch(kernel, item, results); @@ -101,7 +101,7 @@ namespace { struct dispatch_curve_creation { static bool dispatch(const ifcopenshell::geometry::taxonomy::ptr item, T& visitor) { // @todo it should be possible to eliminate this dynamic_cast when there is a static equivalent to kind() - auto v = taxonomy::template dcast>(item); + auto v = ifcopenshell::geometry::taxonomy::template dcast>(item); if (v) { visitor(v); return true;