From 501f4b78a56344d032039f34e9ad1b99375ed687 Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Thu, 27 Sep 2018 17:45:52 +0200 Subject: [PATCH] EventFilter/Utilities: replace auto_ptr removed in strict std=c++17 --- EventFilter/Utilities/plugins/RawEventFileWriterForBU.h | 2 +- EventFilter/Utilities/plugins/RawEventOutputModuleForBU.h | 2 +- EventFilter/Utilities/plugins/RecoEventOutputModuleForFU.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/EventFilter/Utilities/plugins/RawEventFileWriterForBU.h b/EventFilter/Utilities/plugins/RawEventFileWriterForBU.h index b780afa98dbc3..f641da9cc8952 100644 --- a/EventFilter/Utilities/plugins/RawEventFileWriterForBU.h +++ b/EventFilter/Utilities/plugins/RawEventFileWriterForBU.h @@ -72,7 +72,7 @@ class RawEventFileWriterForBU jsoncollector::DataPointDefinition eorJsonDef_; bool writtenJSDs_=false; - std::auto_ptr ost_; + std::unique_ptr ost_; std::string fileName_; std::string destinationDir_; diff --git a/EventFilter/Utilities/plugins/RawEventOutputModuleForBU.h b/EventFilter/Utilities/plugins/RawEventOutputModuleForBU.h index 4d9eebe9be22d..7d6d2d2f942c0 100644 --- a/EventFilter/Utilities/plugins/RawEventOutputModuleForBU.h +++ b/EventFilter/Utilities/plugins/RawEventOutputModuleForBU.h @@ -46,7 +46,7 @@ class RawEventOutputModuleForBU : public edm::one::OutputModule templateConsumer_; + std::unique_ptr templateConsumer_; std::string label_; std::string instance_; edm::EDGetTokenT token_; diff --git a/EventFilter/Utilities/plugins/RecoEventOutputModuleForFU.h b/EventFilter/Utilities/plugins/RecoEventOutputModuleForFU.h index 3fe535ec546c4..4a3014a0491d6 100644 --- a/EventFilter/Utilities/plugins/RecoEventOutputModuleForFU.h +++ b/EventFilter/Utilities/plugins/RecoEventOutputModuleForFU.h @@ -50,7 +50,7 @@ namespace evf { void endLuminosityBlock(edm::LuminosityBlockForOutput const&) override; private: - std::auto_ptr c_; + std::unique_ptr c_; std::string streamLabel_; boost::filesystem::path openDatFilePath_; boost::filesystem::path openDatChecksumFilePath_;