From b116680577d97175786b30392d10dfdb62e18c1c Mon Sep 17 00:00:00 2001 From: scott snyder <scott.snyder@cern.ch> Date: Wed, 12 Dec 2018 10:00:53 +0100 Subject: [PATCH] xAODParticleEvent: Fix gcc9 warnings. In C++11, implicit declarations of copy and assignment are deprecated if the class has a user defined destructor or copy or assignment. gcc9 now warns about this by default. Adjust to avoid the warning. Former-commit-id: 54194bb6fe039a0fbfffaf84b4d1407c99305386 --- .../versions/CompositeParticleAuxContainer_v1.h | 4 ++-- .../xAODParticleEvent/versions/ParticleAuxContainer_v1.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Event/xAOD/xAODParticleEvent/xAODParticleEvent/versions/CompositeParticleAuxContainer_v1.h b/Event/xAOD/xAODParticleEvent/xAODParticleEvent/versions/CompositeParticleAuxContainer_v1.h index 96362abdfa1..3f5ecae3d5a 100644 --- a/Event/xAOD/xAODParticleEvent/xAODParticleEvent/versions/CompositeParticleAuxContainer_v1.h +++ b/Event/xAOD/xAODParticleEvent/xAODParticleEvent/versions/CompositeParticleAuxContainer_v1.h @@ -1,7 +1,7 @@ // Dear emacs, this is -*- c++ -*- /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ // $Id: CompositeParticleAuxContainer_v1.h 677235 2015-06-22 16:08:20Z kkoeneke $ @@ -35,7 +35,7 @@ namespace xAOD { /// Default constructor CompositeParticleAuxContainer_v1(); /// Destructor - ~CompositeParticleAuxContainer_v1() {} + ~CompositeParticleAuxContainer_v1() = default; diff --git a/Event/xAOD/xAODParticleEvent/xAODParticleEvent/versions/ParticleAuxContainer_v1.h b/Event/xAOD/xAODParticleEvent/xAODParticleEvent/versions/ParticleAuxContainer_v1.h index b6b50707a62..23c0f44b06a 100644 --- a/Event/xAOD/xAODParticleEvent/xAODParticleEvent/versions/ParticleAuxContainer_v1.h +++ b/Event/xAOD/xAODParticleEvent/xAODParticleEvent/versions/ParticleAuxContainer_v1.h @@ -1,7 +1,7 @@ // Dear emacs, this is -*- c++ -*- /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ // $Id: ParticleAuxContainer_v1.h 637086 2014-12-19 16:02:19Z kkoeneke $ @@ -34,7 +34,7 @@ namespace xAOD { /// Default constructor ParticleAuxContainer_v1(); /// Destructor - ~ParticleAuxContainer_v1() {} + ~ParticleAuxContainer_v1() = default; -- GitLab