From d40b2d691cad05ec71ded4f298570622cc577f7b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 2 May 2006 02:21:03 +0000 Subject: [PATCH] Make more classes friends. git-svn-id: https://svn.dealii.org/trunk@12954 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/dofs/dof_levels.h | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/deal.II/deal.II/include/dofs/dof_levels.h b/deal.II/deal.II/include/dofs/dof_levels.h index c4b720c5dc..ff087e8136 100644 --- a/deal.II/deal.II/include/dofs/dof_levels.h +++ b/deal.II/deal.II/include/dofs/dof_levels.h @@ -18,6 +18,7 @@ #include template class DoFHandler; +template class MGDoFHandler; namespace internal @@ -259,12 +260,14 @@ namespace internal unsigned int memory_consumption () const; /** - * Make the DoFHandler class - * a friend, so that it can + * Make the DoFHandler and + * MGDoFHandler classes a + * friend, so that it can * resize arrays as * necessary. */ template friend class ::DoFHandler; + template friend class ::MGDoFHandler; }; @@ -364,12 +367,14 @@ namespace internal unsigned int memory_consumption () const; /** - * Make the DoFHandler class - * a friend, so that it can + * Make the DoFHandler and + * MGDoFHandler classes a + * friend, so that it can * resize arrays as * necessary. */ template friend class ::DoFHandler; + template friend class ::MGDoFHandler; }; @@ -469,12 +474,14 @@ namespace internal unsigned int memory_consumption () const; /** - * Make the DoFHandler class - * a friend, so that it can + * Make the DoFHandler and + * MGDoFHandler classes a + * friend, so that it can * resize arrays as * necessary. */ template friend class ::DoFHandler; + template friend class ::MGDoFHandler; }; } -- 2.39.5