From 853467a5cde1cade8072e6ac088574a04af4477b Mon Sep 17 00:00:00 2001
From: scott snyder <sss@karma>
Date: Tue, 29 Nov 2022 10:49:02 -0500
Subject: [PATCH] McParticleUtils: Suppress cppcheck warning.

Member deliberately not copied in assignment op.
---
 .../TruthParticleID/McParticleUtils/src/DecayParser.cxx      | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/PhysicsAnalysis/TruthParticleID/McParticleUtils/src/DecayParser.cxx b/PhysicsAnalysis/TruthParticleID/McParticleUtils/src/DecayParser.cxx
index 7c67f75e5109..1011722c7228 100755
--- a/PhysicsAnalysis/TruthParticleID/McParticleUtils/src/DecayParser.cxx
+++ b/PhysicsAnalysis/TruthParticleID/McParticleUtils/src/DecayParser.cxx
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
 */
 
 /////////////////////////////////////////////////////////////////// 
@@ -331,7 +331,8 @@ DecayParser::printMcUtilsStrings( const std::vector<McUtils::Strings>& list ) co
 
 /////////////////////////////////////////////////////////////////// 
 // Operators: 
-/////////////////////////////////////////////////////////////////// 
+///////////////////////////////////////////////////////////////////
+// cppcheck-suppress operatorEqVarError; m_parseFct deliberately not copied. 
 DecayParser & DecayParser::operator=(const DecayParser& rhs )
 {
   if ( this != &rhs ) {
-- 
GitLab