diff --git a/src/ifcparse/IfcFile.h b/src/ifcparse/IfcFile.h index c6f734d1ac..eaf5d8848c 100644 --- a/src/ifcparse/IfcFile.h +++ b/src/ifcparse/IfcFile.h @@ -263,9 +263,9 @@ public: int getTotalInverses(int instance_id); - template + template typename T::list::ptr getInverse(int instance_id, int attribute_index) { - return getInverse(instance_id, &T::Class(), attribute_index)->as(); + return getInverse(instance_id, &T::Class(), attribute_index)->template as(); } unsigned int FreshId() { return ++MaxId; }