X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/104f4c25acf27f24d4c999567133dda0cb08145d..cd1b6fc186f641dd5e3fb68d793c6253e1b8fcd9:/src/s4u/s4u_mailbox.cpp diff --git a/src/s4u/s4u_mailbox.cpp b/src/s4u/s4u_mailbox.cpp index b2afd59b4a..3b8c0ba51d 100644 --- a/src/s4u/s4u_mailbox.cpp +++ b/src/s4u/s4u_mailbox.cpp @@ -20,12 +20,8 @@ boost::unordered_map *s4u::Mailbox::mailboxes = ne s4u::Mailbox::Mailbox(const char*name, smx_mailbox_t inferior) { inferior_ = inferior; - name_ = name; mailboxes->insert({name, this}); } -const char *s4u::Mailbox::getName() { - return name_.c_str(); -} s4u::Mailbox *s4u::Mailbox::byName(const char*name) { s4u::Mailbox *res; try {