From 50ac61a9a2398b255d4eb15e126831dad1cce002 Mon Sep 17 00:00:00 2001 From: Oliver Sander <oliver.sander@tu-dresden.de> Date: Sat, 30 Jan 2016 15:04:35 +0100 Subject: [PATCH] Replace deprecated std::auto_ptr by std::unique_ptr --- dune/gfe/geodesicfefunctionadaptor.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dune/gfe/geodesicfefunctionadaptor.hh b/dune/gfe/geodesicfefunctionadaptor.hh index e31102f8..700a0a64 100644 --- a/dune/gfe/geodesicfefunctionadaptor.hh +++ b/dune/gfe/geodesicfefunctionadaptor.hh @@ -188,8 +188,7 @@ static void higherOrderGFEFunctionAdaptor(Basis& basis, typedef typename Dune::PQkLocalFiniteElementFactory<double,double,dim,order>::FiniteElementType FatherFiniteElementType; - std::auto_ptr<FatherFiniteElementType> fatherLFE - = std::auto_ptr<FatherFiniteElementType>(Dune::PQkLocalFiniteElementFactory<double,double,dim,order>::create(eIt->father()->type())); + auto fatherLFE = std::unique_ptr<FatherFiniteElementType>(Dune::PQkLocalFiniteElementFactory<double,double,dim,order>::create(eIt->father()->type())); // Set up a local gfe function on the father element std::vector<TargetSpace> coefficients = dofMap[idSet.id(*eIt->father())]; -- GitLab