Skip to content

Commit

Permalink
CommonTools/CandAlgos: replace templates deprecated by std=c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Sep 25, 2018
1 parent e1c469d commit f50ccd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CommonTools/CandAlgos/interface/NamedCandCombiner.h
Expand Up @@ -146,7 +146,7 @@ namespace reco {
}
cv.push_back(r);
}
std::auto_ptr<NamedCompositeCandidateCollection> out = combiner_.combine(cv, roles_);
std::unique_ptr<NamedCompositeCandidateCollection> out = combiner_.combine(cv, roles_);
if(setLongLived_ || setMassConstraint_ || setPdgId_) {
typename NamedCompositeCandidateCollection::iterator i = out->begin(), e = out->end();
for(; i != e; ++i) {
Expand Down

0 comments on commit f50ccd9

Please sign in to comment.