From 14ceb9c55df2bd48663ac33159169596e5a7949a Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Tue, 11 Dec 2018 11:41:02 +0100
Subject: [PATCH] AthExThinning: 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: cadd4a4c71e48f3b9c66db8fa093a0b39e9b4350
---
 .../AthExThinning/AthExThinning/AthExIParticle.h         | 4 ++--
 .../AthExThinning/src_lib/AthExIParticle.cxx             | 9 +--------
 2 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/Control/AthenaExamples/AthExThinning/AthExThinning/AthExIParticle.h b/Control/AthenaExamples/AthExThinning/AthExThinning/AthExIParticle.h
index 15b53df62e3..62d1f97477a 100644
--- a/Control/AthenaExamples/AthExThinning/AthExThinning/AthExIParticle.h
+++ b/Control/AthenaExamples/AthExThinning/AthExThinning/AthExIParticle.h
@@ -1,7 +1,7 @@
 ///////////////////////// -*- 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
 */
 
 // AthExIParticle.h 
@@ -27,7 +27,7 @@ class AthExIParticle
 
   /** Destructor: 
    */
-  virtual ~AthExIParticle();
+  virtual ~AthExIParticle() = default;
 
   /////////////////////////////////////////////////////////////////// 
   // Const methods: 
diff --git a/Control/AthenaExamples/AthExThinning/src_lib/AthExIParticle.cxx b/Control/AthenaExamples/AthExThinning/src_lib/AthExIParticle.cxx
index 78606ed3c69..0c094072165 100644
--- a/Control/AthenaExamples/AthExThinning/src_lib/AthExIParticle.cxx
+++ b/Control/AthenaExamples/AthExThinning/src_lib/AthExIParticle.cxx
@@ -1,7 +1,7 @@
 ///////////////////////// -*- 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
 */
 
 // AthExIParticle.cxx 
@@ -15,13 +15,6 @@
 // AthExThinning includes
 #include "AthExThinning/AthExIParticle.h"
 
-/////////////////////////////////////////////////////////////////// 
-// Public methods: 
-/////////////////////////////////////////////////////////////////// 
-
-AthExIParticle::~AthExIParticle()
-{}
-
 /////////////////////////////////////////////////////////////////// 
 // Const methods: 
 ///////////////////////////////////////////////////////////////////
-- 
GitLab