Skip to content
Snippets Groups Projects
Commit 14ceb9c5 authored by scott snyder's avatar scott snyder
Browse files

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: cadd4a4c
parent b4df726f
No related branches found
No related tags found
No related merge requests found
///////////////////////// -*- C++ -*- ///////////////////////////// ///////////////////////// -*- 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 // AthExIParticle.h
...@@ -27,7 +27,7 @@ class AthExIParticle ...@@ -27,7 +27,7 @@ class AthExIParticle
/** Destructor: /** Destructor:
*/ */
virtual ~AthExIParticle(); virtual ~AthExIParticle() = default;
/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////
// Const methods: // Const methods:
......
///////////////////////// -*- C++ -*- ///////////////////////////// ///////////////////////// -*- 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 // AthExIParticle.cxx
...@@ -15,13 +15,6 @@ ...@@ -15,13 +15,6 @@
// AthExThinning includes // AthExThinning includes
#include "AthExThinning/AthExIParticle.h" #include "AthExThinning/AthExIParticle.h"
///////////////////////////////////////////////////////////////////
// Public methods:
///////////////////////////////////////////////////////////////////
AthExIParticle::~AthExIParticle()
{}
/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////
// Const methods: // Const methods:
/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment