This commit is contained in:
Thomas Krijnen
2023-06-22 16:23:32 +02:00
parent 3decb48ed0
commit a0f68baefc
+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)->template as<T>())) {
if ((*mt)->template as<T>()) {
return std::make_pair(surface_style, (*mt)->as<T>());
}
}