Skip to content

Commit

Permalink
Updated to conform to new Principal interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr15Jones committed Jul 11, 2013
1 parent 9dd131f commit b263868
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 @@ -50,7 +50,7 @@ class PileUpEventPrincipal {
getByLabel(edm::InputTag const& tag, edm::Handle<T>& result) const {
typedef typename T::value_type ItemType;
typedef typename T::iterator iterator;
edm::BasicHandle bh = principal_.getByLabel(edm::PRODUCT_TYPE, edm::TypeID(typeid(T)), tag);
edm::BasicHandle bh = principal_.getByLabel(edm::PRODUCT_TYPE, edm::TypeID(typeid(T)), tag, nullptr);
convert_handle(bh, result);
if(result.isValid() && addLabel(edm::TypeID(typeid(T)), tag.label())) {
T& product = const_cast<T&>(*result.product());
Expand Down

0 comments on commit b263868

Please sign in to comment.