From a0f68baefc129f208e5e9e25c763acc82d747576 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 22 Jun 2023 16:23:32 +0200 Subject: [PATCH] #2805 syntax --- 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 dc797842ce..65be6ac83a 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)->template as())) { + if ((*mt)->template as()) { return std::make_pair(surface_style, (*mt)->as()); } }