From f52d3a701d3cb658a8633e8a6f35f6686d7b8b1d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 28 Mar 2025 14:34:19 -0600 Subject: [PATCH] Ensure a symbol in a header file has external linkage. --- include/deal.II/matrix_free/portable_matrix_free.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/matrix_free/portable_matrix_free.h b/include/deal.II/matrix_free/portable_matrix_free.h index 5884d75abb..85ef6c9f40 100644 --- a/include/deal.II/matrix_free/portable_matrix_free.h +++ b/include/deal.II/matrix_free/portable_matrix_free.h @@ -73,7 +73,7 @@ namespace Portable * of blocks in a BlockVector and the number of FEEvaluation objects that can * be active in a single cell_loop(). */ - static constexpr const unsigned int n_max_dof_handlers = 5; + inline constexpr const unsigned int n_max_dof_handlers = 5; /** * Type for source and destination vectors in device functions like -- 2.39.5