From a66948627dea3107dc052e33baa25d6de129c154 Mon Sep 17 00:00:00 2001
From: Markus Blatt <mblatt@dune-project.org>
Date: Wed, 8 Nov 2006 14:26:49 +0000
Subject: [PATCH] Hide more functions needed for the iterator facades from the
 user.

[[Imported from SVN: r671]]
---
 istl/basearray.hh  | 6 ++----
 istl/bcrsmatrix.hh | 3 +--
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/istl/basearray.hh b/istl/basearray.hh
index dd277842e..8ffad779a 100644
--- a/istl/basearray.hh
+++ b/istl/basearray.hh
@@ -124,7 +124,7 @@ namespace Dune {
         return i==other.i;
       }
 
-    protected:
+    private:
       //! prefix increment
       void increment()
       {
@@ -143,7 +143,6 @@ namespace Dune {
         return *i;
       }
 
-    private:
       const B* p;
       B* i;
     };
@@ -626,7 +625,7 @@ namespace Dune {
         return i;
       }
 
-    protected:
+    private:
       //! prefix increment
       void increment()
       {
@@ -645,7 +644,6 @@ namespace Dune {
         return p[i];
       }
 
-    private:
       B* p;
       size_type* j;
       size_type i;
diff --git a/istl/bcrsmatrix.hh b/istl/bcrsmatrix.hh
index d01cd07d5..6846eaa3a 100644
--- a/istl/bcrsmatrix.hh
+++ b/istl/bcrsmatrix.hh
@@ -226,7 +226,7 @@ namespace Dune {
         return i==other.i;
       }
 
-    protected:
+    private:
       //! prefix increment
       void increment()
       {
@@ -255,7 +255,6 @@ namespace Dune {
         return p[i];
       }
 
-    private:
       row_type* p;
       size_type i;
     };
-- 
GitLab