diff --git a/src/libraries/JANA/Omni/JHasInputs.h b/src/libraries/JANA/Omni/JHasInputs.h index 7c6161ba4..94508807a 100644 --- a/src/libraries/JANA/Omni/JHasInputs.h +++ b/src/libraries/JANA/Omni/JHasInputs.h @@ -213,7 +213,7 @@ struct JHasInputs { } else { if (this->is_optional && !event.HasParent(level)) return; - m_data.push_back(event.GetParent(level).GetCollection(coll_name, !this->is_optional)); + m_data.push_back(event.GetParent(level).template GetCollection(coll_name, !this->is_optional)); } } } @@ -230,7 +230,7 @@ struct JHasInputs { } else { if (this->is_optional && !event.HasParent(level)) return; - event.GetParent(level).GetCollection(coll_name, !this->is_optional); + event.GetParent(level).template GetCollection(coll_name, !this->is_optional); } } }