From: Matthias Maier Date: Thu, 15 Feb 2024 22:03:22 +0000 (-0600) Subject: base/mpi.h: mark a template variable to have "const inline" linkage. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87c22c56d89444140bf9d8a7c7c33c18bfe999ae;p=dealii.git base/mpi.h: mark a template variable to have "const inline" linkage. --- diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index b77fd3e7c8..1400ec4b3a 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -1728,7 +1728,7 @@ namespace Utilities * not satisfied. */ template - const MPI_Datatype + inline const MPI_Datatype mpi_type_id_for_type = internal::MPIDataTypes::mpi_type_id( static_cast> *>(nullptr)); #endif