From 5d6bc1ddb96271590e81a052f12d5c72a45d5a9b Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Fri, 15 Dec 2023 16:38:14 +0100
Subject: [PATCH] McParticleTools: Fix compilation with hepmc2.

Syntax error.
---
 .../McParticleTools/src/OldSpclMcFilterTool.cxx               | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/OldSpclMcFilterTool.cxx b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/OldSpclMcFilterTool.cxx
index 5d9769e7f66c..99312ca87013 100755
--- a/PhysicsAnalysis/TruthParticleID/McParticleTools/src/OldSpclMcFilterTool.cxx
+++ b/PhysicsAnalysis/TruthParticleID/McParticleTools/src/OldSpclMcFilterTool.cxx
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
 */
 
 /////////////////////////////////////////////////////////////////// 
@@ -449,7 +449,7 @@ StatusCode OldSpclMcFilterTool::reconnectParticles( const McEventCollection* in,
 	continue;
       }
       if ( rebuildLinks( evt, outEvt, itrPart ).isFailure() ) {
-	ATH_MSG_WARNING("Could not rebuild links for this particle = "<< itrPart;
+	ATH_MSG_WARNING("Could not rebuild links for this particle = "<< itrPart);
       } else if ( msgLvl(MSG::VERBOSE) ) {
 	msg(MSG::VERBOSE)
 	  << "==========================================================="
-- 
GitLab