Skip to content
Snippets Groups Projects
Commit f9a79f64 authored by Scott Snyder's avatar Scott Snyder Committed by scott snyder
Browse files

PanTauEvent: 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.
parent f1c7c3e6
No related branches found
No related tags found
No related merge requests found
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
*/ */
/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////
...@@ -59,7 +59,7 @@ public: ...@@ -59,7 +59,7 @@ public:
// ); // );
/** Destructor */ /** Destructor */
virtual ~TauFeature(); ~TauFeature() = default;
/** returns the value of the feature given by its name*/ /** returns the value of the feature given by its name*/
double value(const std::string& ItsName, bool& isValid) const; double value(const std::string& ItsName, bool& isValid) const;
......
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
*/ */
#include "PanTauEvent/TauFeature.h" #include "PanTauEvent/TauFeature.h"
...@@ -23,11 +23,6 @@ PanTau::TauFeature::TauFeature() ...@@ -23,11 +23,6 @@ PanTau::TauFeature::TauFeature()
PanTau::TauFeature::~TauFeature()
{
}
double PanTau::TauFeature::value(const std::string& ItsName, bool& isValid) const double PanTau::TauFeature::value(const std::string& ItsName, bool& isValid) const
{ {
FeatureMapConstIter iter = m_featureMap.find(ItsName); FeatureMapConstIter iter = m_featureMap.find(ItsName);
......
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