Skip to content

Commit

Permalink
missed one
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Feb 1, 2018
1 parent 04c8720 commit 146417c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -29,7 +29,7 @@ class SiStripThresholdFakeESSource : public edm::ESProducer, public edm::EventSe

void setIntervalFor( const edm::eventsetup::EventSetupRecordKey&, const edm::IOVSyncValue& iov, edm::ValidityInterval& iValidity ) override;

typedef std::shared_ptr<SiStripThreshold> ReturnType;
typedef std::unique_ptr<SiStripThreshold> ReturnType;
ReturnType produce(const SiStripThresholdRcd&);

private:
Expand Down Expand Up @@ -66,7 +66,7 @@ SiStripThresholdFakeESSource::produce(const SiStripThresholdRcd& iRecord)
{
using namespace edm::es;

std::shared_ptr<SiStripThreshold> threshold = std::make_shared<SiStripThreshold>();
auto threshold = std::make_unique<SiStripThreshold>();

SiStripDetInfoFileReader reader{m_file.fullPath()};

Expand Down

0 comments on commit 146417c

Please sign in to comment.