X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/03e7fbe7bab4bab050435eeac609d80458e36bb7..5ac17b95ed6baf225a7d90d65536e0ce1843ec93:/include/simgrid/s4u/Mailbox.hpp diff --git a/include/simgrid/s4u/Mailbox.hpp b/include/simgrid/s4u/Mailbox.hpp index ab4db6d1a0..acce469a00 100644 --- a/include/simgrid/s4u/Mailbox.hpp +++ b/include/simgrid/s4u/Mailbox.hpp @@ -122,10 +122,7 @@ public: /** @brief Retrieves the name of that mailbox as a C string */ const char* get_cname() const; - /** Retrieve the mailbox associated to the given C string */ - static MailboxPtr by_name(const char* name); - - /** Retrieve the mailbox associated to the given C++ string */ + /** Retrieve the mailbox associated to the given name */ static MailboxPtr by_name(std::string name); /** Returns whether the mailbox contains queued communications */