From 8066fb0e9cd6a009fa83f2c321f4e3c014f635ad Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Wed, 6 Sep 2023 08:32:32 +0200 Subject: [PATCH] mpi_typetrait in replacement --- libsrc/core/mpi_wrapper.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsrc/core/mpi_wrapper.hpp b/libsrc/core/mpi_wrapper.hpp index 88e15af5..1beda265 100644 --- a/libsrc/core/mpi_wrapper.hpp +++ b/libsrc/core/mpi_wrapper.hpp @@ -486,6 +486,9 @@ namespace ngcore inline void MPI_Type_contiguous ( int, MPI_Datatype, MPI_Datatype*) { ; } inline void MPI_Type_commit ( MPI_Datatype * ) { ; } + template struct MPI_typetrait { + static MPI_Datatype MPIType () { return -1; } }; + }; template inline MPI_Datatype GetMPIType () { return -1; }