Skip to content

Commit

Permalink
Fix use-after-move in CITKPFIsolationSumProducerForPUPPI
Browse files Browse the repository at this point in the history
  • Loading branch information
makortel committed Jun 6, 2019
1 parent e9d7073 commit 206d0a7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -102,11 +102,11 @@ namespace citk {
<< "Isolation type: " << isotype << " is not available in the "
<< "list of allowed isolations!.";
}
_isolation_types[thetype->second].emplace_back(std::move(theisolator));
const std::string dash("-");
std::string pname = isotype+dash+coneName+dash+theisolator->additionalCode();
_product_names[thetype->second].emplace_back(pname);
produces<edm::ValueMap<float> >(pname);
_isolation_types[thetype->second].emplace_back(std::move(theisolator));
}
}

Expand Down

0 comments on commit 206d0a7

Please sign in to comment.