diff --git a/src/examples/IfcParseExamples.cpp b/src/examples/IfcParseExamples.cpp index 12ce6e0375..184590e0ed 100644 --- a/src/examples/IfcParseExamples.cpp +++ b/src/examples/IfcParseExamples.cpp @@ -114,7 +114,7 @@ std::string format_string(const Argument* argument) { template void process_pset(element_properties& props, const T* inst) { // Process an individual Property or Quantity set. - if (auto pset = inst->as()) { + if (auto pset = inst->template as()) { if (!pset->Name()) { return; }