Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RecoLocalMuon/RPCRecHit: change ESProducer return type to unique_ptr. #22033

Merged
merged 1 commit into from Jan 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions RecoLocalMuon/RPCRecHit/src/CSCObjectMapESProducer.cc
Expand Up @@ -19,8 +19,8 @@ class CSCObjectMapESProducer : public edm::ESProducer {
~CSCObjectMapESProducer() override {
}

std::shared_ptr<CSCObjectMap> produce(MuonGeometryRecord const& record) {
return std::make_shared<CSCObjectMap>(record);
std::unique_ptr<CSCObjectMap> produce(MuonGeometryRecord const& record) {
return std::make_unique<CSCObjectMap>(record);
}

static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
Expand Down
4 changes: 2 additions & 2 deletions RecoLocalMuon/RPCRecHit/src/DTObjectMapESProducer.cc
Expand Up @@ -19,8 +19,8 @@ class DTObjectMapESProducer : public edm::ESProducer {
~DTObjectMapESProducer() override {
}

std::shared_ptr<DTObjectMap> produce(MuonGeometryRecord const& record) {
return std::make_shared<DTObjectMap>(record);
std::unique_ptr<DTObjectMap> produce(MuonGeometryRecord const& record) {
return std::make_unique<DTObjectMap>(record);
}

static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
Expand Down