From f7bf4408482621015eeae393deea08c5f951300c Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 27 Sep 2024 17:05:55 +0500 Subject: [PATCH] AbstractKernel::dispatch_curve_creation - use static cast Similar to 93c4749 --- src/ifcgeom/AbstractKernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/AbstractKernel.h b/src/ifcgeom/AbstractKernel.h index d06fe6bf4a..630ade01ae 100644 --- a/src/ifcgeom/AbstractKernel.h +++ b/src/ifcgeom/AbstractKernel.h @@ -141,7 +141,7 @@ namespace { static bool dispatch(const ifcopenshell::geometry::taxonomy::ptr item, T& visitor) { constexpr auto KindIndex = TupleTypeIndex, ifcopenshell::geometry::taxonomy::impl::KindsTuple>::value; if (item->kind() == KindIndex) { - auto concrete_item = ifcopenshell::geometry::taxonomy::template cast>(item); + auto concrete_item = std::static_pointer_cast>(item); visitor(concrete_item); return true; } else {