From 2ef67e3896a2a7d0ba93539cf79310384470fc91 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 15 Feb 2024 16:03:22 -0600 Subject: [PATCH 2/2] base/mpi.h: mark a template variable to have "const inline" linkage. --- include/deal.II/base/mpi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index b77fd3e7c8..8ee55fbe41 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -1728,8 +1728,8 @@ namespace Utilities * not satisfied. */ template - const MPI_Datatype - mpi_type_id_for_type = internal::MPIDataTypes::mpi_type_id( + inline const MPI_Datatype mpi_type_id_for_type = + internal::MPIDataTypes::mpi_type_id( static_cast> *>(nullptr)); #endif -- 2.43.0