X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c8479964a8abe6f40b37c0c3c31bd280a33039ae..d4e94a24a03b0e727aa323d2e5a8dc4198590ea9:/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 4e00e3dd73..c2487908d2 100644 --- a/teshsuite/mc/mutex-handling/mutex-handling.cpp +++ b/teshsuite/mc/mutex-handling/mutex-handling.cpp @@ -23,7 +23,6 @@ #include "simgrid/s4u/Host.hpp" #include "simgrid/s4u/Mailbox.hpp" #include "simgrid/s4u/Mutex.hpp" -#include XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example"); @@ -45,7 +44,7 @@ static int receiver(const char* box_name) static int sender(const char* box_name, simgrid::s4u::MutexPtr mutex, int value) { - int* payload = new int(value); + auto* payload = new int(value); auto mb = simgrid::s4u::Mailbox::by_name(box_name); if (mutex)