Skip to content

Commit

Permalink
Merge pull request #18943 from gartung/RecoBTag-gcc700-dtor-warning-fix
Browse files Browse the repository at this point in the history
RecoBTag : fix gcc700 warning: class  has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
  • Loading branch information
cmsbuild committed May 27, 2017
2 parents 6410dcb + d6deaa9 commit 3103b54
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RecoBTag/SecondaryVertex/interface/CombinedSVComputer.h
Expand Up @@ -42,7 +42,7 @@
class CombinedSVComputer {
public:
explicit CombinedSVComputer(const edm::ParameterSet &params);

virtual ~CombinedSVComputer() = default;
virtual reco::TaggingVariableList
operator () (const reco::TrackIPTagInfo &ipInfo,
const reco::SecondaryVertexTagInfo &svInfo) const;
Expand Down
Expand Up @@ -14,7 +14,7 @@
class CombinedSVSoftLeptonComputer : public CombinedSVComputer {
public:
explicit CombinedSVSoftLeptonComputer(const edm::ParameterSet &params);

virtual ~CombinedSVSoftLeptonComputer() = default;
double flipSoftLeptonValue(double value) const;

template <class IPTI,class SVTI>
Expand Down
2 changes: 1 addition & 1 deletion RecoBTag/SecondaryVertex/interface/GhostTrackComputer.h
Expand Up @@ -16,7 +16,7 @@
class GhostTrackComputer {
public:
GhostTrackComputer(const edm::ParameterSet &params);

virtual ~GhostTrackComputer() = default;
virtual reco::TaggingVariableList
operator () (const reco::TrackIPTagInfo &ipInfo,
const reco::SecondaryVertexTagInfo &svInfo) const;
Expand Down
1 change: 1 addition & 0 deletions RecoBTag/XMLCalibration/interface/CalibratedObject.h
Expand Up @@ -14,6 +14,7 @@
class CalibratedObject
{
public:
virtual ~CalibratedObject() = default;
/** This function has to be implemented in derived class.
* It should read all the information the calibrated objects need to
* load to be initialized from the xml file.
Expand Down

0 comments on commit 3103b54

Please sign in to comment.