From ebf4d4d1b88c5a6f84330b9687ae589f91b4685f Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Wed, 27 Nov 2024 21:29:43 +0100 Subject: [PATCH] fix non-mpi --- libsrc/core/mpi_wrapper.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/core/mpi_wrapper.hpp b/libsrc/core/mpi_wrapper.hpp index a110912c..f6e70dab 100644 --- a/libsrc/core/mpi_wrapper.hpp +++ b/libsrc/core/mpi_wrapper.hpp @@ -537,8 +537,8 @@ namespace ngcore class NgMPI_Requests { public: - NgMPI_Requests operator+= (NgMPI_Request &&) { ; } - NgMPI_Requests operator+= (NG_MPI_Request r) { ; } + NgMPI_Requests & operator+= (NgMPI_Request &&) { return *rhis; } + NgMPI_Requests & operator+= (NG_MPI_Request r) { return *this; } void WaitAll() { ; } int WaitAny() { return 0; } };