From 8d5911e8aaa877432f8bba44feda439540fb1f94 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 a5b79769e3..f63d3eeae7 100644 --- a/src/ifcparse/IfcFile.h +++ b/src/ifcparse/IfcFile.h @@ -257,9 +257,9 @@ class IFC_PARSE_API IfcFile { /// returned by getInverse(). std::vector get_inverse_indices(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(); } aggregate_of_instance::ptr getInverse(int instance_id, const IfcParse::declaration* type, int attribute_index);