Skip to content

Commit b2df287

Browse files
authored
[PWGUD] Fix -Wmissing-template-arg-list-after-template-kw (#10755)
1 parent 7c3b772 commit b2df287

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGUD/Tasks/upcQuarkoniaCentralBarrel.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,9 @@ struct upcQuarkoniaCentralBarrel {
414414
// __________________________________________
415415
// main analysis
416416
if (doMCAssociation) {
417-
if constexpr (requires { proton.template udMcParticle(); }) { // check if MC information is available
418-
auto protonMC = fullTrackMCs.iteratorAt(proton.template udMcParticle().globalIndex());
419-
auto antiProtonMC = fullTrackMCs.iteratorAt(antiProton.template udMcParticle().globalIndex());
417+
if constexpr (requires { proton.udMcParticle(); }) { // check if MC information is available
418+
auto protonMC = fullTrackMCs.iteratorAt(proton.udMcParticle().globalIndex());
419+
auto antiProtonMC = fullTrackMCs.iteratorAt(antiProton.udMcParticle().globalIndex());
420420

421421
if (!protonMC.has_mothers())
422422
return;

0 commit comments

Comments
 (0)