mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Small compilation fix
This commit is contained in:
@@ -75,7 +75,8 @@ public:
|
||||
/// IfcWall will also return IfcWallStandardCase entities
|
||||
template <class T>
|
||||
typename T::list::ptr EntitiesByType() {
|
||||
return EntitiesByType(T::Class())->as<T>();
|
||||
IfcEntityList::ptr untyped_list = EntitiesByType(T::Class());
|
||||
return untyped_list->as<T>();
|
||||
}
|
||||
|
||||
/// Returns all entities in the file that match the positional argument.
|
||||
|
||||
Reference in New Issue
Block a user