diff --git a/DQMServices/Core/interface/DQMStore.h b/DQMServices/Core/interface/DQMStore.h index 678372a58b3b3..45e6dede018ee 100644 --- a/DQMServices/Core/interface/DQMStore.h +++ b/DQMServices/Core/interface/DQMStore.h @@ -252,12 +252,12 @@ namespace dqm { } template ::value, int> = 0> MonitorElement* book2DPoly(TString const& name, - TString const& title, - double lowX, - double highX, - double lowY, - double highY, - FUNC onbooking = NOOP()) { + TString const& title, + double lowX, + double highX, + double lowY, + double highY, + FUNC onbooking = NOOP()) { return bookME(name, MonitorElementData::Kind::TH2F, [=]() { auto th2poly = new TH2Poly(name, title, lowX, highX, lowY, highY); onbooking(th2poly);