diff --git a/libsrc/core/mpi_wrapper.hpp b/libsrc/core/mpi_wrapper.hpp index f6e70dab..c7dfc53a 100644 --- a/libsrc/core/mpi_wrapper.hpp +++ b/libsrc/core/mpi_wrapper.hpp @@ -537,7 +537,7 @@ namespace ngcore class NgMPI_Requests { public: - NgMPI_Requests & operator+= (NgMPI_Request &&) { return *rhis; } + NgMPI_Requests & operator+= (NgMPI_Request &&) { return *this; } NgMPI_Requests & operator+= (NG_MPI_Request r) { return *this; } void WaitAll() { ; } int WaitAny() { return 0; }