typename :(

This commit is contained in:
Thomas Krijnen
2023-06-01 21:47:07 +02:00
parent b33f5e19b7
commit 5f7b07ab4c
+1 -1
View File
@@ -259,7 +259,7 @@ class IFC_PARSE_API IfcFile {
template <class T>
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);