From f50ccd95ae5672845e5ff85aab7fb2e587cf235c Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Mon, 24 Sep 2018 20:10:46 -0500 Subject: [PATCH] CommonTools/CandAlgos: replace templates deprecated by std=c++17 --- CommonTools/CandAlgos/interface/NamedCandCombiner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommonTools/CandAlgos/interface/NamedCandCombiner.h b/CommonTools/CandAlgos/interface/NamedCandCombiner.h index c2a5a04dee50d..2006895773917 100644 --- a/CommonTools/CandAlgos/interface/NamedCandCombiner.h +++ b/CommonTools/CandAlgos/interface/NamedCandCombiner.h @@ -146,7 +146,7 @@ namespace reco { } cv.push_back(r); } - std::auto_ptr out = combiner_.combine(cv, roles_); + std::unique_ptr out = combiner_.combine(cv, roles_); if(setLongLived_ || setMassConstraint_ || setPdgId_) { typename NamedCompositeCandidateCollection::iterator i = out->begin(), e = out->end(); for(; i != e; ++i) {