]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/internals/smpi_actor.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix a bug in an error message
[simgrid.git] / src / smpi / internals / smpi_actor.cpp
index c6f71647ba499b26a319259e307ecbbd4fa7e7f3..9149ab7a5524f2fda07e32d50c3e1108827923fb 100644 (file)
@@ -176,8 +176,8 @@ double ActorExt::simulated_elapsed() const
 MPI_Comm ActorExt::comm_self()
 {
   if (comm_self_ == MPI_COMM_NULL) {
-    MPI_Group group = new Group(1);
-    comm_self_      = new Comm(group, nullptr);
+    auto* group = new Group(1);
+    comm_self_  = new Comm(group, nullptr);
     group->set_mapping(actor_, 0);
   }
   return comm_self_;