From a8d0a84856bdd02d746c573c1fd13c679712d5de Mon Sep 17 00:00:00 2001 From: Martin Errenst <martin.errenst@cern.ch> Date: Wed, 21 Feb 2018 08:36:57 +0100 Subject: [PATCH] Apply formatting artifacts --- GaudiSvc/src/THistSvc/THistSvc.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/GaudiSvc/src/THistSvc/THistSvc.h b/GaudiSvc/src/THistSvc/THistSvc.h index a35aca76c2..65095394fd 100644 --- a/GaudiSvc/src/THistSvc/THistSvc.h +++ b/GaudiSvc/src/THistSvc/THistSvc.h @@ -51,12 +51,13 @@ public: /// @param [in] hist transfers ownership of the histogram to the THistSvc /// @param [out] hist_ptr for compatibility: return raw pointer to managed object to support common usage in Athena StatusCode regHist( const std::string& name, std::unique_ptr<TH1> hist, TH1* hist_ptr ) override; - /// @deprecated {Just for compatibility purposes. Ownership should be clearly managed.} - /// Register an existing ROOT histogram TH*X with name and pointer +/// @deprecated {Just for compatibility purposes. Ownership should be clearly managed.} +/// Register an existing ROOT histogram TH*X with name and pointer #ifdef ATLAS [[deprecated( "Use regHist( name, std::move(hist) ) with std::unique_ptr<TH1> hist" )]] #endif - StatusCode regHist( const std::string& name, TH1* ) override; + StatusCode + regHist( const std::string& name, TH1* ) override; /// Return histogram with given name as TH1*, THistSvcMT still owns object. StatusCode getHist( const std::string& name, TH1*&, size_t index = 0 ) const override; -- GitLab