X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/29a3b2869c0075fc75e8ccc66fc1d9c4c8bf6a85..b024b9e443552c94609fc56a240cdb199a329853:/examples/s4u/synchro-mutex/s4u-synchro-mutex.cpp diff --git a/examples/s4u/synchro-mutex/s4u-synchro-mutex.cpp b/examples/s4u/synchro-mutex/s4u-synchro-mutex.cpp index ae2ca42912..e7819f7b53 100644 --- a/examples/s4u/synchro-mutex/s4u-synchro-mutex.cpp +++ b/examples/s4u/synchro-mutex/s4u-synchro-mutex.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2006-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2006-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -6,7 +6,7 @@ #include /* std::mutex and std::lock_guard */ #include "simgrid/s4u.hpp" /* All of S4U */ -#define NB_ACTOR 6 +constexpr int NB_ACTOR = 6; XBT_LOG_NEW_DEFAULT_CATEGORY(s4u_test, "a sample log category");