From 0854a6295ac24497cd1e4fea545502660eba748b Mon Sep 17 00:00:00 2001 From: Thomas Speer Date: Wed, 14 May 2014 15:19:26 +0200 Subject: [PATCH] To remove the warning hides overloaded virtual function --- .../interface/ConfigurableTrimmedVertexFinder.h | 4 +++- .../interface/KalmanTrimmedVertexFinder.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RecoVertex/TrimmedKalmanVertexFinder/interface/ConfigurableTrimmedVertexFinder.h b/RecoVertex/TrimmedKalmanVertexFinder/interface/ConfigurableTrimmedVertexFinder.h index 7628dd5a9074c..365cb4e7ea58c 100644 --- a/RecoVertex/TrimmedKalmanVertexFinder/interface/ConfigurableTrimmedVertexFinder.h +++ b/RecoVertex/TrimmedKalmanVertexFinder/interface/ConfigurableTrimmedVertexFinder.h @@ -61,7 +61,7 @@ class ConfigurableTrimmedVertexFinder : public VertexReconstructor { std::vector vertices( const std::vector & tracks, std::vector& unused, - const reco::BeamSpot & spot, bool use_spot ) const; + const reco::BeamSpot & spot, bool use_spot) const; /** Access to parameters */ @@ -115,6 +115,8 @@ class ConfigurableTrimmedVertexFinder : public VertexReconstructor { private: + using VertexReconstructor::vertices; + // separate tracks passing the filter // void separateTracks(std::vector& filtered, // std::vector& unused) const; diff --git a/RecoVertex/TrimmedKalmanVertexFinder/interface/KalmanTrimmedVertexFinder.h b/RecoVertex/TrimmedKalmanVertexFinder/interface/KalmanTrimmedVertexFinder.h index ca54061fc167c..76811de564c18 100644 --- a/RecoVertex/TrimmedKalmanVertexFinder/interface/KalmanTrimmedVertexFinder.h +++ b/RecoVertex/TrimmedKalmanVertexFinder/interface/KalmanTrimmedVertexFinder.h @@ -86,6 +86,7 @@ class KalmanTrimmedVertexFinder private: ConfigurableTrimmedVertexFinder * theFinder; + using VertexReconstructor::vertices; };