mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
fix syntax error on gcc
This commit is contained in:
@@ -257,9 +257,9 @@ class IFC_PARSE_API IfcFile {
|
|||||||
/// returned by getInverse().
|
/// returned by getInverse().
|
||||||
std::vector<int> get_inverse_indices(int instance_id);
|
std::vector<int> get_inverse_indices(int instance_id);
|
||||||
|
|
||||||
template <class T>
|
template <typename 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<typename T>();
|
return getInverse(instance_id, &T::Class(), attribute_index)->template as<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