From d6868b518d9fd21631a24157f2df7406fb70ab67 Mon Sep 17 00:00:00 2001 From: heister Date: Sat, 23 Oct 2010 16:43:51 +0000 Subject: [PATCH] fix compiler error when compiling without p4est git-svn-id: https://svn.dealii.org/trunk@22434 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/distributed/tria.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deal.II/deal.II/source/distributed/tria.cc b/deal.II/deal.II/source/distributed/tria.cc index b99e8dfd63..1fbcb45b87 100644 --- a/deal.II/deal.II/source/distributed/tria.cc +++ b/deal.II/deal.II/source/distributed/tria.cc @@ -47,6 +47,8 @@ DEAL_II_NAMESPACE_OPEN #ifdef DEAL_II_USE_P4EST +#error A + namespace internal { namespace p4est @@ -2963,11 +2965,12 @@ namespace parallel } } - #endif // DEAL_II_USE_P4EST +#ifdef DEAL_II_USE_P4EST + // explicit instantiations namespace internal { @@ -3010,6 +3013,8 @@ namespace parallel } } +#endif // DEAL_II_USE_P4EST + DEAL_II_NAMESPACE_CLOSE -- 2.39.5