Skip to content
Snippets Groups Projects
Commit b87b0212 authored by babushkina's avatar babushkina
Browse files

Don't use deprecated EntityPointer

parent f96c1994
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,6 @@ class DOFConstraints {
typedef typename B::GridView::template Codim<0>::Entity Element;
typedef typename B::GridView::template Codim<0>::Iterator ElementIterator;
typedef typename B::GridView::IntersectionIterator NeighborIterator;
typedef typename B::GridView::IntersectionIterator::Intersection::EntityPointer NeighborPointer;
typedef typename B::LocalFiniteElement FE;
typedef typename FE::Traits::LocalInterpolationType LocalInterpolationType;
......@@ -127,8 +126,7 @@ class DOFConstraints {
if (not(nIt->neighbor()))
continue;
NeighborPointer np = nIt->outside();
auto& neighbor = *np;
const Element& neighbor = nIt->outside();
if (not(neighbor.level()<level))
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment