mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
fix syntax error on gcc
This commit is contained in:
@@ -263,9 +263,9 @@ public:
|
||||
|
||||
int getTotalInverses(int instance_id);
|
||||
|
||||
template <class T>
|
||||
template <typename T>
|
||||
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>();
|
||||
}
|
||||
|
||||
unsigned int FreshId() { return ++MaxId; }
|
||||
|
||||
Reference in New Issue
Block a user