mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
typename :(
This commit is contained in:
@@ -265,7 +265,7 @@ public:
|
|||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
typename T::list::ptr getInverse(int instance_id, int attribute_index) {
|
typename T::list::ptr getInverse(int instance_id, int attribute_index) {
|
||||||
return getInverse(instance_id, &T::Class(), attribute_index)->as<T>();
|
return getInverse(instance_id, &T::Class(), attribute_index)->as<typename T>();
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int FreshId() { return ++MaxId; }
|
unsigned int FreshId() { return ++MaxId; }
|
||||||
|
|||||||
Reference in New Issue
Block a user