diff --git a/OnlineDB/SiStripO2O/plugins/SiStripPayloadHandler.cc b/OnlineDB/SiStripO2O/plugins/SiStripPayloadHandler.cc index 6557100f2ab37..1c084ee869e66 100644 --- a/OnlineDB/SiStripO2O/plugins/SiStripPayloadHandler.cc +++ b/OnlineDB/SiStripO2O/plugins/SiStripPayloadHandler.cc @@ -1,5 +1,5 @@ #include "FWCore/Framework/interface/Event.h" -#include "FWCore/Framework/interface/EDAnalyzer.h" +#include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/ServiceRegistry/interface/Service.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" @@ -26,7 +26,7 @@ #include "OnlineDB/SiStripESSources/interface/SiStripCondObjBuilderFromDb.h" template -class SiStripPayloadHandler : public edm::EDAnalyzer { +class SiStripPayloadHandler : public edm::one::EDAnalyzer<> { public: explicit SiStripPayloadHandler(const edm::ParameterSet& iConfig); ~SiStripPayloadHandler() override; @@ -74,7 +74,7 @@ SiStripPayloadHandler::SiStripPayloadHandler(const edm::Paramete } template -SiStripPayloadHandler::~SiStripPayloadHandler() {} +SiStripPayloadHandler::~SiStripPayloadHandler() = default; template void SiStripPayloadHandler::analyze(const edm::Event& evt, const edm::EventSetup& evtSetup) {