From aa8cda3588def2d86301356b5ceb83a922637055 Mon Sep 17 00:00:00 2001 From: scott snyder <snyder@bnl.gov> Date: Mon, 14 Dec 2020 15:32:56 +0100 Subject: [PATCH] InDetSecVxFinderTool: Fix clang warnings. Missing override keywords. --- .../InDetSecVxFinderTool/InDetImprovedJetFitterVxFinder.h | 2 +- .../InDetSecVxFinderTool/InDetJetFitterVxFinder.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetImprovedJetFitterVxFinder.h b/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetImprovedJetFitterVxFinder.h index ed687a57f51..6025446d586 100755 --- a/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetImprovedJetFitterVxFinder.h +++ b/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetImprovedJetFitterVxFinder.h @@ -74,7 +74,7 @@ namespace InDet { virtual Trk::VxSecVertexInfo* findSecVertex(const xAOD::Vertex & primaryVertex, const TLorentzVector & jetMomentum, - const std::vector<const xAOD::IParticle*> & inputTracks) const; + const std::vector<const xAOD::IParticle*> & inputTracks) const override; private: diff --git a/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetJetFitterVxFinder.h b/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetJetFitterVxFinder.h index 13cd285d356..747166aa128 100755 --- a/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetJetFitterVxFinder.h +++ b/InnerDetector/InDetRecTools/InDetSecVxFinderTool/InDetSecVxFinderTool/InDetJetFitterVxFinder.h @@ -62,9 +62,10 @@ namespace InDet { ~InDetJetFitterVxFinder(); + virtual Trk::VxSecVertexInfo* findSecVertex(const xAOD::Vertex & /*primaryVertex*/, const TLorentzVector & /*jetMomentum*/, - const std::vector<const xAOD::IParticle*> & /*inputTracks*/ ) const + const std::vector<const xAOD::IParticle*> & /*inputTracks*/ ) const override { /* not implemented */ return 0; -- GitLab