X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3203afd846219ef8b41cadda945ea0a98103c46f..7e625e5e848a284b522d69ec28cb111f1f88515b:/teshsuite/mc/mutex-handling/mutex-handling.cpp diff --git a/teshsuite/mc/mutex-handling/mutex-handling.cpp b/teshsuite/mc/mutex-handling/mutex-handling.cpp index adb9519796..8f986360a2 100644 --- a/teshsuite/mc/mutex-handling/mutex-handling.cpp +++ b/teshsuite/mc/mutex-handling/mutex-handling.cpp @@ -30,7 +30,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(mutex_handling, "Messages specific for this test"); static int receiver(const char* box_name) { - auto mb = simgrid::s4u::Mailbox::by_name(box_name); + auto* mb = simgrid::s4u::Mailbox::by_name(box_name); std::unique_ptr payload; payload = mb->get_unique(); @@ -45,7 +45,7 @@ static int receiver(const char* box_name) static int sender(const char* box_name, simgrid::s4u::MutexPtr mutex, int value) { auto* payload = new int(value); - auto mb = simgrid::s4u::Mailbox::by_name(box_name); + auto* mb = simgrid::s4u::Mailbox::by_name(box_name); std::unique_lock lock; if (mutex)