X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/111a7eba5a52860dee57b3a28c7fb84d7950be56..d468bfe9e511204a05ddff628f356b8966963e55:/src/simix/smx_network_private.h diff --git a/src/simix/smx_network_private.h b/src/simix/smx_network_private.h index 2e12211785..af4ee08210 100644 --- a/src/simix/smx_network_private.h +++ b/src/simix/smx_network_private.h @@ -20,12 +20,13 @@ namespace simix { /** @brief Rendez-vous point datatype */ -class Mailbox { +class MailboxImpl { public: - Mailbox(const char* name) : piface_(this), name(xbt_strdup(name)), comm_queue(MAX_MAILBOX_SIZE), done_comm_queue(MAX_MAILBOX_SIZE) {} - ~Mailbox() { - xbt_free(name); + MailboxImpl(const char* name) + : piface_(this), name(xbt_strdup(name)), comm_queue(MAX_MAILBOX_SIZE), done_comm_queue(MAX_MAILBOX_SIZE) + { } + ~MailboxImpl() { xbt_free(name); } simgrid::s4u::Mailbox piface_; // Our interface char* name;