From f555638679ea799ed961d428aa27a2bad846be1e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 15 Mar 2023 12:02:52 -0600 Subject: [PATCH] Mark some 'constexpr' as 'inline'. --- include/deal.II/base/template_constraints.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/deal.II/base/template_constraints.h b/include/deal.II/base/template_constraints.h index 7d635356aa..0553bf6cd1 100644 --- a/include/deal.II/base/template_constraints.h +++ b/include/deal.II/base/template_constraints.h @@ -907,34 +907,34 @@ namespace parallel namespace concepts { +#if defined(DEAL_II_HAVE_CXX20) || defined(DOXYGEN) namespace internal { template - constexpr bool is_triangulation_or_dof_handler = false; + inline constexpr bool is_triangulation_or_dof_handler = false; template - constexpr bool + inline constexpr bool is_triangulation_or_dof_handler> = true; template - constexpr bool is_triangulation_or_dof_handler< + inline constexpr bool is_triangulation_or_dof_handler< parallel::distributed::Triangulation> = true; template - constexpr bool is_triangulation_or_dof_handler< + inline constexpr bool is_triangulation_or_dof_handler< parallel::shared::Triangulation> = true; template - constexpr bool is_triangulation_or_dof_handler< + inline constexpr bool is_triangulation_or_dof_handler< parallel::fullydistributed::Triangulation> = true; template - constexpr bool is_triangulation_or_dof_handler> = - true; + inline constexpr bool + is_triangulation_or_dof_handler> = true; } // namespace internal -#if defined(DEAL_II_HAVE_CXX20) || defined(DOXYGEN) /** * A concept that is used to check whether the `MeshType` template * type used in many functions in namespace GridTools and -- 2.39.5