typename :(

This commit is contained in:
Thomas Krijnen
2023-06-01 21:47:07 +02:00
parent 52421a6398
commit db3a6c8ef7
+1 -1
View File
@@ -265,7 +265,7 @@ public:
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>();
}
unsigned int FreshId() { return ++MaxId; }