X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ac9f2313b09e3e4c035607f3e4b116a3ea349291..5ff67b17195840c076b8b2ee0f79f2b6fadda362:/teshsuite/s4u/host-on-off-actors/host-on-off-actors.cpp?ds=sidebyside diff --git a/teshsuite/s4u/host-on-off-actors/host-on-off-actors.cpp b/teshsuite/s4u/host-on-off-actors/host-on-off-actors.cpp index c0279d4d79..fcc42cb94b 100644 --- a/teshsuite/s4u/host-on-off-actors/host-on-off-actors.cpp +++ b/teshsuite/s4u/host-on-off-actors/host-on-off-actors.cpp @@ -39,7 +39,7 @@ static void commRX() { XBT_INFO(" Start RX"); try { - auto* payload = simgrid::s4u::Mailbox::by_name("comm")->get(); + const auto* payload = simgrid::s4u::Mailbox::by_name("comm")->get(); XBT_INFO(" Receive message: %s", payload->c_str()); } catch (const simgrid::HostFailureException&) { XBT_INFO(" Receive message: HOST_FAILURE");