mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
#2805 syntax
This commit is contained in:
@@ -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>());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user