Skip to content
Snippets Groups Projects

Revert some interface changes of THistSvc

Merged Martin Errenst requested to merge merrenst/Gaudi:THistSvc-180131 into master
1 file
+ 0
1
Compare changes
  • Side-by-side
  • Inline
  • bf88ba68
    This would introduce an additional warning for every Gaudi build, while
    the intention is to discourage the use of its implementation in
    THistSvc.h.
    The interface method is still marked as deprecated through a doxygen
    comment.
@@ -42,7 +42,6 @@ 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
[[deprecated( "Use regHist( name, std::move(hist), rawptr ) with std::unique_ptr<TH1> hist" )]] 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;
Loading