#2805 template keyword for gcc

This commit is contained in:
Thomas Krijnen
2023-06-22 14:29:58 +02:00
parent 2d330f4c90
commit 3decb48ed0
+1 -1
View File
@@ -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<T>())) {
if ((*mt)->template as<T>())) {
return std::make_pair(surface_style, (*mt)->as<T>());
}
}