From: guido Date: Fri, 4 Jul 2003 16:56:35 +0000 (+0000) Subject: private inheritance should be here X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=375863d10225dc63db653785bd45ed36190eb8de;p=dealii-svn.git private inheritance should be here git-svn-id: https://svn.dealii.org/trunk@7847 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_renumbering.cc b/deal.II/deal.II/source/dofs/dof_renumbering.cc index 2b5551db3f..2582519a17 100644 --- a/deal.II/deal.II/source/dofs/dof_renumbering.cc +++ b/deal.II/deal.II/source/dofs/dof_renumbering.cc @@ -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 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& i) const + { + return (! (T::operator==(i))); + } + // Allow access to these operators of T + T::operator->; + T::operator++; + T::operator==; };