X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3c7a3b7e2daf42c6c251fb575a8a6540cb90c41c..3b2dbb5d7bb46fcea379d478c77df4de1910403c:/src/smpi/mpi/smpi_op.cpp diff --git a/src/smpi/mpi/smpi_op.cpp b/src/smpi/mpi/smpi_op.cpp index 3ae327d4cb..a94b2ff732 100644 --- a/src/smpi/mpi/smpi_op.cpp +++ b/src/smpi/mpi/smpi_op.cpp @@ -270,7 +270,7 @@ void Op::ref(){ void Op::unref(MPI_Op* op){ if((*op)!=MPI_OP_NULL){ (*op)->refcount_--; - if((*op)->refcount_==0 && (*op)->predefined_==false) + if ((*op)->refcount_ == 0 && not (*op)->predefined_) delete(*op); } }