]> https://gitweb.dealii.org/ - dealii.git/commitdiff
private inheritance should be here
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 4 Jul 2003 16:56:35 +0000 (16:56 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Fri, 4 Jul 2003 16:56:35 +0000 (16:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@7847 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_renumbering.cc

index 2b5551db3f41841c84635972467e7c2d51d4e1e6..2582519a176dcc2c4195a360cd7aa0253fc337c2 100644 (file)
@@ -56,7 +56,7 @@ extern "C" long int lrand48 (void);
 // level numbering for multigrid as well as numbering for the global
 // system matrix.
 template <class T>
-class WrapMGDoFIterator : public T
+class WrapMGDoFIterator : private T
 {
   public:
     WrapMGDoFIterator (const T& t) : T(t) {}
@@ -64,6 +64,14 @@ class WrapMGDoFIterator : public T
       {
        T::get_mg_dof_indices(v);
       }
+    bool operator != (const WrapMGDoFIterator<T>& i) const
+      {
+       return (! (T::operator==(i)));
+      }
+                                    // Allow access to these operators of T
+    T::operator->;
+    T::operator++;
+    T::operator==;
 };
 
 

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.