]> https://gitweb.dealii.org/ - dealii.git/commitdiff
mpi.h: use static instead of inline for C++14 support. 16655/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 16 Feb 2024 02:16:41 +0000 (20:16 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 16 Feb 2024 02:16:41 +0000 (20:16 -0600)
include/deal.II/base/mpi.h

index 1400ec4b3a9c130be7aaf5240eb624e535bc903b..f7ef084be7014ad6e4d560018a2c3015231a00ff 100644 (file)
@@ -1728,7 +1728,7 @@ namespace Utilities
      * not satisfied.
      */
     template <typename T>
-    inline const MPI_Datatype
+    static const MPI_Datatype
       mpi_type_id_for_type = internal::MPIDataTypes::mpi_type_id(
         static_cast<std::remove_cv_t<std::remove_reference_t<T>> *>(nullptr));
 #endif

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.