From 831bc7a11bd5818a4901d82bcd21d6aa8734483d Mon Sep 17 00:00:00 2001 From: Martin Errenst <martin.errenst@cern.ch> Date: Fri, 2 Feb 2018 09:02:02 +0100 Subject: [PATCH] Add accidentally deleated return type to regHist --- GaudiKernel/GaudiKernel/ITHistSvc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GaudiKernel/GaudiKernel/ITHistSvc.h b/GaudiKernel/GaudiKernel/ITHistSvc.h index 3d45d5d415..ae2e161385 100644 --- a/GaudiKernel/GaudiKernel/ITHistSvc.h +++ b/GaudiKernel/GaudiKernel/ITHistSvc.h @@ -42,7 +42,7 @@ public: virtual StatusCode regHist( const std::string& name, std::unique_ptr<TH1> hist, TH1* hist_ptr ) = 0; /// @deprecated {Just for compatibility purposes. Ownership should be clearly managed.} /// Register an existing ROOT histogram TH*X with name and pointer - regHist( const std::string& name, TH1* ) = 0; + virtual StatusCode regHist( const std::string& name, TH1* ) = 0; /// Return histogram with given name as TH1*, THistSvcMT still owns object. virtual StatusCode getHist( const std::string& name, TH1*&, size_t index = 0 ) const = 0; /// Return histogram with given name as TH2*, THistSvcMT still owns object. -- GitLab