Skip to content

Commit

Permalink
Merge pull request #24265 from wddgit/produceReturnUniquePtr1
Browse files Browse the repository at this point in the history
Change produce function return type to unique_ptr in CondTools L1Trigger
  • Loading branch information
cmsbuild committed Aug 13, 2018
2 parents ed178ed + 6fa051a commit cd83a07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CondTools/L1Trigger/plugins/L1SubsystemKeysOnlineProd.h
Expand Up @@ -39,7 +39,7 @@ class L1SubsystemKeysOnlineProd : public edm::ESProducer {
L1SubsystemKeysOnlineProd(const edm::ParameterSet&);
~L1SubsystemKeysOnlineProd() override;

typedef std::shared_ptr<L1TriggerKey> ReturnType;
typedef std::unique_ptr<L1TriggerKey> ReturnType;

ReturnType produce(const L1TriggerKeyRcd&);
private:
Expand Down
2 changes: 1 addition & 1 deletion CondTools/L1Trigger/plugins/L1TriggerKeyListDummyProd.h
Expand Up @@ -37,7 +37,7 @@ class L1TriggerKeyListDummyProd : public edm::ESProducer {
L1TriggerKeyListDummyProd(const edm::ParameterSet&);
~L1TriggerKeyListDummyProd() override;

typedef std::shared_ptr<L1TriggerKeyList> ReturnType;
typedef std::unique_ptr<L1TriggerKeyList> ReturnType;

ReturnType produce(const L1TriggerKeyListRcd&);
private:
Expand Down
2 changes: 1 addition & 1 deletion CondTools/L1Trigger/plugins/L1TriggerKeyOnlineProd.h
Expand Up @@ -39,7 +39,7 @@ class L1TriggerKeyOnlineProd : public edm::ESProducer {
L1TriggerKeyOnlineProd(const edm::ParameterSet&);
~L1TriggerKeyOnlineProd() override;

typedef std::shared_ptr<L1TriggerKey> ReturnType;
typedef std::unique_ptr<L1TriggerKey> ReturnType;

ReturnType produce(const L1TriggerKeyRcd&);
private:
Expand Down

0 comments on commit cd83a07

Please sign in to comment.