Skip to content

Commit

Permalink
fix gcc700 warning: class has virtual functions and accessible non-vi…
Browse files Browse the repository at this point in the history
…rtual destructor [-Wnon-virtual-dtor]
  • Loading branch information
gartung committed May 31, 2017
1 parent 09f887d commit a4ad47e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CommonTools/RecoUtils/interface/PF_PU_AssoMapAlgos.h
Expand Up @@ -87,6 +87,8 @@ class PF_PU_AssoMapAlgos{
PF_PU_AssoMapAlgos(const edm::ParameterSet& iConfig, edm::ConsumesCollector && iC) :
PF_PU_AssoMapAlgos(iConfig, iC) {};
PF_PU_AssoMapAlgos(const edm::ParameterSet&, edm::ConsumesCollector &);
// virtual destructor needed when virtual functions declared
virtual ~PF_PU_AssoMapAlgos() noexcept(false) {};

//get all needed collections at the beginning
virtual void GetInputCollections(edm::Event&, const edm::EventSetup&);
Expand Down

0 comments on commit a4ad47e

Please sign in to comment.