From: Matthias Maier Date: Fri, 16 Feb 2024 02:16:41 +0000 (-0600) Subject: mpi.h: use static instead of inline for C++14 support. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93927a21e58590c603304008115ae5e1817d9487;p=dealii.git mpi.h: use static instead of inline for C++14 support. --- diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index 1400ec4b3a..f7ef084be7 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -1728,7 +1728,7 @@ namespace Utilities * not satisfied. */ template - inline const MPI_Datatype + static const MPI_Datatype mpi_type_id_for_type = internal::MPIDataTypes::mpi_type_id( static_cast> *>(nullptr)); #endif