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-Tag: relicensing~35^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16653%2Fhead;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 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