Skip to content

Commit

Permalink
Merge pull request #24677 from gartung/RecoVertex-VertexTools-strictc…
Browse files Browse the repository at this point in the history
…xx17

 RecoVertex/VertexTools: replace template deprecated by std=c++17
  • Loading branch information
cmsbuild committed Sep 27, 2018
2 parents 3f05e3b + 1fbabe1 commit 4244a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RecoVertex/VertexTools/src/PerigeeRefittedTrackState.cc
Expand Up @@ -39,7 +39,7 @@ TrajectoryStateOnSurface
PerigeeRefittedTrackState::trajectoryStateOnSurface(const Surface & surface,
const Propagator & propagator) const
{
std::auto_ptr<Propagator> thePropagator( propagator.clone());
std::unique_ptr<Propagator> thePropagator( propagator.clone());
thePropagator->setPropagationDirection(anyDirection);

TrajectoryStateOnSurface tsos = thePropagator->propagate(freeTrajectoryState(), surface);
Expand Down

0 comments on commit 4244a16

Please sign in to comment.