fix syntax error on gcc

This commit is contained in:
Thomas Krijnen
2023-06-01 22:03:31 +02:00
parent 30d9743ae7
commit b33e58f40b
+2 -2
View File
@@ -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; }