From e5c3375ad8d658a3a27cd2c9ffdf383a56b02bdb Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Fri, 25 Nov 2011 11:51:48 +0000 Subject: [PATCH] minor cleanup [[Imported from SVN: r8260]] --- dune/gfe/geodesicfefunctionadaptor.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dune/gfe/geodesicfefunctionadaptor.hh b/dune/gfe/geodesicfefunctionadaptor.hh index 72f6cc00..ad9aea35 100644 --- a/dune/gfe/geodesicfefunctionadaptor.hh +++ b/dune/gfe/geodesicfefunctionadaptor.hh @@ -176,8 +176,10 @@ static void higherOrderGFEFunctionAdaptor(Basis& basis, const typename Basis::LocalFiniteElement& lfe = basis.getLocalFiniteElement(*eIt); - std::auto_ptr<typename Dune::PQkLocalFiniteElementFactory<double,double,dim,order>::FiniteElementType> fatherLFE - = std::auto_ptr<typename Dune::PQkLocalFiniteElementFactory<double,double,dim,order>::FiniteElementType>(Dune::PQkLocalFiniteElementFactory<double,double,dim,order>::create(eIt->father()->type())); + 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())); // Set up a local gfe function on the father element std::vector<TargetSpace> coefficients = dofMap[idSet.id(*eIt->father())]; -- GitLab