From ef5b41b5665f248889f411ec803f2cab0c2b2fa6 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sat, 7 Aug 2021 10:00:56 +0200 Subject: [PATCH] specify template differently --- src/ifcparse/IfcHierarchyHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcparse/IfcHierarchyHelper.cpp b/src/ifcparse/IfcHierarchyHelper.cpp index 7c37522ebf..31838071cd 100644 --- a/src/ifcparse/IfcHierarchyHelper.cpp +++ b/src/ifcparse/IfcHierarchyHelper.cpp @@ -870,7 +870,7 @@ namespace { // In IFC4 the IfcContext.RepresentationContexts has been made optional, so we need // some boiler plate to push back to a list that might be optional. template - void push_back_to_maybe_optional(boost::optional& t, U* u) { + void push_back_to_maybe_optional(boost::optional>& t, U* u) { if (!t) { t->emplace(new T); }