Skip to content

Commit

Permalink
Merge pull request #31642 from makortel/fixESConsumesCollectorWithTag…
Browse files Browse the repository at this point in the history
…Adaptor

Avoid dangling reference in edm::ConsumesCollectorWithTagESAdaptor
  • Loading branch information
cmsbuild authored Oct 2, 2020
2 parents bdc0699 + 494fc6f commit 33e05f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FWCore/Framework/interface/ConsumesCollector.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ namespace edm {
: m_consumer(std::move(iBase)), m_tag(std::move(iTag)) {}

ConsumesCollector m_consumer;
ESInputTag const& m_tag;
ESInputTag const m_tag;
};

template <BranchType B>
Expand Down

0 comments on commit 33e05f4

Please sign in to comment.