From 1ec10f840db28144a0ed063da3d6ce0a79383088 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 21 Aug 2011 04:17:31 +0000 Subject: [PATCH] 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 --- deal.II/include/deal.II/multigrid/mg_dof_accessor.h | 2 +- deal.II/include/deal.II/multigrid/mg_dof_handler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }; /*@}*/ -- 2.39.5