Commit 9065c095 authored by Beatrix Becker's avatar Beatrix Becker
Browse files

p0fem.hh: fix problem that arose during make headercheck,

DUNE_DEPRECATED_MSG at wrong position
made by Bernd, reviewed by Beatrix

git-svn-id: svn:// 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 79912276
......@@ -28,7 +28,7 @@
#include <dune/geometry/type.hh>
#include <dune/common/deprecated.hh>
#include <dune/localfunctions/lagrange/p0.hh>
#include <dune/pdelab/finiteelementmap/finiteelementmap.hh>
......@@ -44,9 +44,9 @@ class P0LocalFiniteElementMap
typedef Dune::PDELab::SimpleLocalFiniteElementMap< Dune::P0LocalFiniteElement<D,R,d> > ParentType;
P0LocalFiniteElementMap ()
DUNE_DEPRECATED_MSG("should not be needed anymore")
: ParentType (Dune::P0LocalFiniteElement<D,R,d>(isCube ? Dune::GeometryType(Dune::GeometryType::cube, d)
: Dune::GeometryType(Dune::GeometryType::simplex, d)))
DUNE_DEPRECATED_MSG("should not be needed anymore")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment