X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c8f375f14b9e04a4dd1767cb70c70b6dfc173f9c..7749be177cbd7d433ec389a155efff301969c6ee:/examples/s4u/maestro-set/s4u-maestro-set.cpp diff --git a/examples/s4u/maestro-set/s4u-maestro-set.cpp b/examples/s4u/maestro-set/s4u-maestro-set.cpp index 108855976e..336c74db16 100644 --- a/examples/s4u/maestro-set/s4u-maestro-set.cpp +++ b/examples/s4u/maestro-set/s4u-maestro-set.cpp @@ -48,7 +48,7 @@ static void receiver() { ensure_other_tid(); - std::string* payload = static_cast(simgrid::s4u::Mailbox::by_name("some mailbox")->get()); + const std::string* payload = static_cast(simgrid::s4u::Mailbox::by_name("some mailbox")->get()); XBT_INFO("Task received"); delete payload; }