X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d685808894710dda03e4734a9e39f617adda0508..c10c571a634491a941c1b39c50020da8d709a940:/teshsuite/s4u/actor-suspend/actor-suspend.cpp diff --git a/teshsuite/s4u/actor-suspend/actor-suspend.cpp b/teshsuite/s4u/actor-suspend/actor-suspend.cpp index ed4d1ed980..91aad4daa1 100644 --- a/teshsuite/s4u/actor-suspend/actor-suspend.cpp +++ b/teshsuite/s4u/actor-suspend/actor-suspend.cpp @@ -19,7 +19,7 @@ public: void operator()() const { XBT_INFO("Starting."); - auto mailbox = simgrid::s4u::Mailbox::by_name("receiver"); + auto* mailbox = simgrid::s4u::Mailbox::by_name("receiver"); int data = *mailbox->get(); XBT_INFO("Got %d at the end", data); } @@ -42,7 +42,7 @@ public: simgrid::s4u::this_actor::sleep_for(10); XBT_INFO("Sending a message to the receiver..."); - auto mailbox = simgrid::s4u::Mailbox::by_name("receiver"); + auto* mailbox = simgrid::s4u::Mailbox::by_name("receiver"); static int data = 42; mailbox->put(&data, 4);