X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d1a8de6d608e6a2dbfc60cf4e453832421a2fd4c..b024b9e443552c94609fc56a240cdb199a329853:/src/kernel/activity/MailboxImpl.hpp diff --git a/src/kernel/activity/MailboxImpl.hpp b/src/kernel/activity/MailboxImpl.hpp index b88d28d22e..2620d7eb24 100644 --- a/src/kernel/activity/MailboxImpl.hpp +++ b/src/kernel/activity/MailboxImpl.hpp @@ -13,7 +13,6 @@ #include "src/kernel/activity/CommImpl.hpp" #include "src/simix/ActorImpl.hpp" -#define MAX_MAILBOX_SIZE 10000000 namespace simgrid { namespace kernel { namespace activity { @@ -21,6 +20,8 @@ namespace activity { /** @brief Implementation of the simgrid::s4u::Mailbox */ class MailboxImpl { + static constexpr size_t MAX_MAILBOX_SIZE = 10000000; + friend s4u::Mailbox; friend s4u::MailboxPtr s4u::Mailbox::by_name(const std::string& name); friend mc::CommunicationDeterminismChecker;