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()); } }