]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
It makes Clang happier if we forward declare things as struct instead of class if...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 04:17:31 +0000 (04:17 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 21 Aug 2011 04:17:31 +0000 (04:17 +0000)
git-svn-id: https://svn.dealii.org/trunk@24157 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/multigrid/mg_dof_accessor.h
deal.II/include/deal.II/multigrid/mg_dof_handler.h

index 786978ccc7d33ac3a37f85140f9586e4128cc888..4ffdb2baa3add0773dc62580d1c26780367843ba 100644 (file)
@@ -416,7 +416,7 @@ class MGDoFAccessor : public internal::MGDoFAccessor::Inheritance<structdim,dim,
     operator = (const MGDoFAccessor &da);
 
     template <int, int> friend class MGDoFHandler;
-    friend class internal::MGDoFHandler::Implementation;
+    friend struct internal::MGDoFHandler::Implementation;
 };
 
 
index be6a2d3bf42756cf3b193ba9c3e7b16fda760ff4..63e0cb6f37644090e5edef178704c618c1ce1b50 100644 (file)
@@ -1013,7 +1013,7 @@ class MGDoFHandler : public DoFHandler<dim,spacedim>
                                      * Make accessor objects friends.
                                      */
     template <int dim1, int dim2, int dim3> friend class MGDoFAccessor;
-    friend class internal::MGDoFHandler::Implementation;
+    friend struct internal::MGDoFHandler::Implementation;
 };
 
 /*@}*/

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.