mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
typename :(
This commit is contained in:
@@ -259,7 +259,7 @@ class IFC_PARSE_API IfcFile {
|
|||||||
|
|
||||||
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>();
|
||||||
}
|
}
|
||||||
|
|
||||||
aggregate_of_instance::ptr getInverse(int instance_id, const IfcParse::declaration* type, int attribute_index);
|
aggregate_of_instance::ptr getInverse(int instance_id, const IfcParse::declaration* type, int attribute_index);
|
||||||
|
|||||||
Reference in New Issue
Block a user