From b33e58f40b628bb892bc5d987575917453c7bde7 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 1 Jun 2023 22:03:31 +0200 Subject: [PATCH] fix syntax error on gcc --- src/ifcparse/IfcFile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }