From 427b890df1ac7ad73ee0814505b6f4aa063664e4 Mon Sep 17 00:00:00 2001 From: scott snyder <snyder@bnl.gov> Date: Wed, 9 Dec 2020 16:01:48 +0100 Subject: [PATCH] MuonCombinedTrackFindingTools: Fix clang warnings. Missing override keywords. --- .../src/MuonCandidateTrackBuilderTool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Reconstruction/MuonIdentification/MuonCombinedTrackFindingTools/src/MuonCandidateTrackBuilderTool.h b/Reconstruction/MuonIdentification/MuonCombinedTrackFindingTools/src/MuonCandidateTrackBuilderTool.h index a64b705591d0..b3e73e2bdf05 100644 --- a/Reconstruction/MuonIdentification/MuonCombinedTrackFindingTools/src/MuonCandidateTrackBuilderTool.h +++ b/Reconstruction/MuonIdentification/MuonCombinedTrackFindingTools/src/MuonCandidateTrackBuilderTool.h @@ -68,10 +68,10 @@ namespace Muon { /** Default AlgTool functions */ MuonCandidateTrackBuilderTool(const std::string& type, const std::string& name, const IInterface* parent); virtual ~MuonCandidateTrackBuilderTool()=default; - StatusCode initialize(); + virtual StatusCode initialize() override; /**IMuonCandidateTrackBuilderTool interface: buildCombinedTrack */ - Trk::Track* buildCombinedTrack( const Trk::Track& idTrack, const MuonCandidate& candidate ) const; + virtual Trk::Track* buildCombinedTrack( const Trk::Track& idTrack, const MuonCandidate& candidate ) const override; virtual void cleanUp() const override; -- GitLab