Skip to content

Commit

Permalink
Merge pull request #24676 from gartung/RecoVertex-V0Producer-strictcxx17
Browse files Browse the repository at this point in the history
RecoVertex/V0Producer: replace template deprecated by std=c++17
  • Loading branch information
cmsbuild committed Sep 27, 2018
2 parents 4244a16 + 7b6f87c commit 1fabeea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RecoVertex/V0Producer/src/V0Fitter.cc
Expand Up @@ -237,8 +237,8 @@ void V0Fitter::fitAll(const edm::Event& iEvent, const edm::EventSetup& iSetup,
if (sqrt(negTkHitPosD2) < (distMagXY - sigmaDistMagXY*innerHitPosCut_)) continue;
}

std::auto_ptr<TrajectoryStateClosestToPoint> trajPlus;
std::auto_ptr<TrajectoryStateClosestToPoint> trajMins;
std::unique_ptr<TrajectoryStateClosestToPoint> trajPlus;
std::unique_ptr<TrajectoryStateClosestToPoint> trajMins;
std::vector<reco::TransientTrack> theRefTracks;
if (theRecoVertex.hasRefittedTracks()) {
theRefTracks = theRecoVertex.refittedTracks();
Expand Down

0 comments on commit 1fabeea

Please sign in to comment.