Skip to content

Commit

Permalink
Updated PileUpEventPrincipal to new edm::convert_handle call
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr15Jones committed Jan 19, 2019
1 parent 6d61969 commit 6d31f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimGeneral/MixingModule/interface/PileUpEventPrincipal.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class PileUpEventPrincipal {
bool
getByLabel(edm::InputTag const& tag, edm::Handle<T>& result) const {
edm::BasicHandle bh = principal_.getByLabel(edm::PRODUCT_TYPE, edm::TypeID(typeid(T)), tag, nullptr, nullptr, mcc_);
convert_handle(std::move(bh), result);
result = edm::convert_handle<T>(std::move(bh));
return result.isValid();
}

Expand Down

0 comments on commit 6d31f49

Please sign in to comment.