X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d9c66df6160daf502cdc849b68e9882529a4353d..c6683b41cf9ecda70c1d4d75d1effc61903a894f:/docs/source/tuto_mc/ndet-receive-s4u.cpp diff --git a/docs/source/tuto_mc/ndet-receive-s4u.cpp b/docs/source/tuto_mc/ndet-receive-s4u.cpp index 061ae71250..cf1aba3923 100644 --- a/docs/source/tuto_mc/ndet-receive-s4u.cpp +++ b/docs/source/tuto_mc/ndet-receive-s4u.cpp @@ -17,7 +17,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(example, "this example"); static void server() { - auto mb = sg4::Mailbox::by_name("mymailbox"); + auto* mb = sg4::Mailbox::by_name("mymailbox"); int value_got = -1; for (int count = 0; count < N; count++) { int *received = mb->get();