]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make SynchronousIterators::iterators private.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 11 Jul 2017 22:04:15 +0000 (16:04 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 11 Jul 2017 22:04:15 +0000 (16:04 -0600)
This is a member that should have been private all along, but wasn't. It
is now possible to access it via operator*.

include/deal.II/base/parallel.h
include/deal.II/base/synchronous_iterator.h

index e39d2d2ec8a38c46d9c7999306b5dd729ce62eaa..2d9119c3bd41f73e56aa04e35451f9bd70691862 100644 (file)
@@ -89,7 +89,7 @@ namespace parallel
       {
         for (typename Range::const_iterator p=range.begin();
              p != range.end(); ++p)
-          apply (f, p.iterators);
+          apply (f, *p);
       }
 
     private:
index ac7e240c8e3b32133083255469cf4fd57a7fc9ef..e7ce3ef08390d7d412b9b6aa45b46996fca27abb 100644 (file)
@@ -72,6 +72,7 @@ struct SynchronousIterators
    */
   Iterators &operator* ();
 
+private:
   /**
    * Storage for the iterators represented by the current class.
    */

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.