X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c1b3e440de2150420b08c0bc55a125a0c9eb86bc..9e3b2f1d55a07271c05db2ed5b3fec27561097f9:/include/simgrid/s4u/Mailbox.hpp diff --git a/include/simgrid/s4u/Mailbox.hpp b/include/simgrid/s4u/Mailbox.hpp index e226df2f79..7cb4c8d2e6 100644 --- a/include/simgrid/s4u/Mailbox.hpp +++ b/include/simgrid/s4u/Mailbox.hpp @@ -38,7 +38,7 @@ public: const char* get_cname() const; /** Retrieve the mailbox associated to the given name */ - static MailboxPtr by_name(std::string name); + static MailboxPtr by_name(const std::string& name); /** Returns whether the mailbox contains queued communications */ bool empty();