From 1fbabe14a5d0249afbd861f4863bb25a8827d0b6 Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Wed, 26 Sep 2018 12:01:23 -0500 Subject: [PATCH] RecoVertex/VertexTools: replace template deprecated by std=c++17 --- RecoVertex/VertexTools/src/PerigeeRefittedTrackState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecoVertex/VertexTools/src/PerigeeRefittedTrackState.cc b/RecoVertex/VertexTools/src/PerigeeRefittedTrackState.cc index 28468b10afb68..9e493b984fe1b 100644 --- a/RecoVertex/VertexTools/src/PerigeeRefittedTrackState.cc +++ b/RecoVertex/VertexTools/src/PerigeeRefittedTrackState.cc @@ -39,7 +39,7 @@ TrajectoryStateOnSurface PerigeeRefittedTrackState::trajectoryStateOnSurface(const Surface & surface, const Propagator & propagator) const { - std::auto_ptr thePropagator( propagator.clone()); + std::unique_ptr thePropagator( propagator.clone()); thePropagator->setPropagationDirection(anyDirection); TrajectoryStateOnSurface tsos = thePropagator->propagate(freeTrajectoryState(), surface);