diff --git a/src/examples/IfcParseExamples.cpp b/src/examples/IfcParseExamples.cpp index 92faca6133..8bf6688e0a 100644 --- a/src/examples/IfcParseExamples.cpp +++ b/src/examples/IfcParseExamples.cpp @@ -112,7 +112,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; }