From e0d2519f5013d8cdbb406f9bc3c5cf924e124dcf Mon Sep 17 00:00:00 2001
From: Robert K <rokl@iris.no>
Date: Tue, 20 Jan 2015 17:10:38 +0100
Subject: [PATCH] dune version 2.4

---
 dune/alugrid/3d/datahandle.hh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dune/alugrid/3d/datahandle.hh b/dune/alugrid/3d/datahandle.hh
index e417f41e5..65d24cf79 100644
--- a/dune/alugrid/3d/datahandle.hh
+++ b/dune/alugrid/3d/datahandle.hh
@@ -501,11 +501,9 @@ namespace ALUGrid
   protected:
     typedef typename GridType::MPICommunicatorType Comm;
 
-
     typedef Dune::ALU3dImplTraits< GridType::elementType, Comm > ImplTraits;
     typedef typename ImplTraits::template Codim< 0 >::InterfaceType  HElementType;
 
-
     typedef typename GridType :: EntityObject                   EntityObjectType;
     typedef typename GridType :: template Codim< 0 > :: Entity  EntityType ;
     typedef typename EntityObjectType::ImplementationType       EntityImp;
@@ -823,7 +821,7 @@ namespace ALUGrid
     template <int codim>
     int subEntities( const EntityType &element ) const
     {
-#if DUNE_VERSION_NEWER_REV(DUNE_GRID,3,0,0)
+#if DUNE_VERSION_NEWER_REV(DUNE_GRID,2,4,0)
       return element.subEntities( codim );
 #else
       return element.template count< codim > ();
-- 
GitLab