Skip to content
Snippets Groups Projects
Commit cc59c9c8 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Fix EntityPointer deprecation warning

[[Imported from SVN: r10077]]
parent 93fb69d1
No related branches found
No related tags found
No related merge requests found
......@@ -55,10 +55,11 @@ namespace Dune {
{
#if DUNE_VERSION_NEWER(DUNE_GRID,2,4)
int localIndex = p2Mapper_.subIndex(*it, i, 2);
int globalIndex = globalVertexIndex.index(it->template subEntity<2>(i));
#else
int localIndex = p2Mapper_.map(*it, i, 2);
#endif
int globalIndex = globalVertexIndex.index(*it->template subEntity<2>(i));
#endif
localGlobalMap_[localIndex] = globalIndex;
}
......
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