From de67a91e3ee143eb4fdbe2dcb417dda01fd97cab Mon Sep 17 00:00:00 2001
From: Felix Schindler <felix.schindler@wwu.de>
Date: Tue, 30 Jun 2020 23:40:05 +0200
Subject: [PATCH] [grid.walker] allow derived classes to access internals

This is required for some functors in dune-gdt, I think :)
---
 dune/xt/grid/walker.hh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dune/xt/grid/walker.hh b/dune/xt/grid/walker.hh
index bc41f35ff..5d5a697f0 100644
--- a/dune/xt/grid/walker.hh
+++ b/dune/xt/grid/walker.hh
@@ -198,7 +198,10 @@ private:
 template <class GV>
 class Walker : public ElementAndIntersectionFunctor<GV>
 {
+protected:
   using BaseType = ElementAndIntersectionFunctor<GV>;
+
+private:
   using ThisType = Walker;
 
 public:
@@ -735,7 +738,7 @@ public:
     } // .. walk elements
   } // ... walk_range(...)
 
-private:
+protected:
   GridViewType grid_view_;
   // We want each thread to have its own copy of each functor. However, as we do not know in advance how many different
   // threads we will have (even if DXTC_CONFIG["threading.max_count"] is set, there may be only max_threads at a time,
-- 
GitLab