From 58376e43fe475845633db0e8429cbb4d7a19e229 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 15 Feb 2024 16:03:22 -0600 Subject: [PATCH] base/mpi.h: mark a template variable to have "const inline" linkage. --- include/deal.II/base/mpi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index bc0aab7339..67a23a047a 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -1745,7 +1745,7 @@ namespace Utilities * not satisfied. */ template - const MPI_Datatype mpi_type_id_for_type = + inline const MPI_Datatype mpi_type_id_for_type = internal::MPIDataTypes::mpi_type_id( static_cast> *>(nullptr)); #endif -- 2.39.5