From: bangerth Date: Sun, 21 Aug 2011 04:17:31 +0000 (+0000) Subject: It makes Clang happier if we forward declare things as struct instead of class if... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ec10f840db28144a0ed063da3d6ce0a79383088;p=dealii-svn.git It makes Clang happier if we forward declare things as struct instead of class if they are in fact declared as structs. git-svn-id: https://svn.dealii.org/trunk@24157 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/multigrid/mg_dof_accessor.h b/deal.II/include/deal.II/multigrid/mg_dof_accessor.h index 786978ccc7..4ffdb2baa3 100644 --- a/deal.II/include/deal.II/multigrid/mg_dof_accessor.h +++ b/deal.II/include/deal.II/multigrid/mg_dof_accessor.h @@ -416,7 +416,7 @@ class MGDoFAccessor : public internal::MGDoFAccessor::Inheritance friend class MGDoFHandler; - friend class internal::MGDoFHandler::Implementation; + friend struct internal::MGDoFHandler::Implementation; }; diff --git a/deal.II/include/deal.II/multigrid/mg_dof_handler.h b/deal.II/include/deal.II/multigrid/mg_dof_handler.h index be6a2d3bf4..63e0cb6f37 100644 --- a/deal.II/include/deal.II/multigrid/mg_dof_handler.h +++ b/deal.II/include/deal.II/multigrid/mg_dof_handler.h @@ -1013,7 +1013,7 @@ class MGDoFHandler : public DoFHandler * Make accessor objects friends. */ template friend class MGDoFAccessor; - friend class internal::MGDoFHandler::Implementation; + friend struct internal::MGDoFHandler::Implementation; }; /*@}*/