From 3decb48ed04394e0516e05f8155f60501d237058 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 22 Jun 2023 14:29:58 +0200 Subject: [PATCH] #2805 template keyword for gcc --- src/ifcgeom/IfcGeom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/IfcGeom.h b/src/ifcgeom/IfcGeom.h index 42575acb3e..dc797842ce 100644 --- a/src/ifcgeom/IfcGeom.h +++ b/src/ifcgeom/IfcGeom.h @@ -347,7 +347,7 @@ public: if (surface_style->Side() != IfcSchema::IfcSurfaceSide::IfcSurfaceSide_NEGATIVE) { auto styles_elements = surface_style->Styles(); for (auto mt = styles_elements->begin(); mt != styles_elements->end(); ++mt) { - if ((*mt)->as())) { + if ((*mt)->template as())) { return std::make_pair(surface_style, (*mt)->as()); } }