From: Daniel Arndt Date: Mon, 24 Jul 2017 22:20:07 +0000 (+0200) Subject: Fix compilation without p4est X-Git-Tag: v9.0.0-rc1~1385^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4652%2Fhead;p=dealii.git Fix compilation without p4est --- diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index dd07b27a90..6c53cfbce6 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -3499,6 +3499,7 @@ namespace internal { #ifndef DEAL_II_WITH_P4EST Assert (false, ExcNotImplemented()); + return NumberCache(); #else const unsigned int dim = DoFHandlerType::dimension; const unsigned int spacedim = DoFHandlerType::space_dimension; @@ -3702,9 +3703,8 @@ namespace internal } } #endif // DEBUG -#endif // DEAL_II_WITH_P4EST - return number_cache; +#endif // DEAL_II_WITH_P4EST }