Skip to content
Snippets Groups Projects
Commit 50ac61a9 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Replace deprecated std::auto_ptr by std::unique_ptr

parent 124ffeb0
No related branches found
No related tags found
No related merge requests found
......@@ -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())];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment