mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 02:40:00 +00:00
Small compilation fix
This commit is contained in:
@@ -75,7 +75,8 @@ public:
|
|||||||
/// IfcWall will also return IfcWallStandardCase entities
|
/// IfcWall will also return IfcWallStandardCase entities
|
||||||
template <class T>
|
template <class T>
|
||||||
typename T::list::ptr EntitiesByType() {
|
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.
|
/// Returns all entities in the file that match the positional argument.
|
||||||
|
|||||||
Reference in New Issue
Block a user