mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
fix syntax error on gcc
This commit is contained in:
@@ -263,9 +263,9 @@ public:
|
|||||||
|
|
||||||
int getTotalInverses(int instance_id);
|
int getTotalInverses(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>();
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int FreshId() { return ++MaxId; }
|
unsigned int FreshId() { return ++MaxId; }
|
||||||
|
|||||||
Reference in New Issue
Block a user