From: Martin Quinson Date: Sat, 16 Mar 2019 07:38:45 +0000 (+0100) Subject: Fix clang+MC+python builds X-Git-Tag: v3_22~85 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3c4fb0b5a82e4449f6d6d8470714fcfb39c9db1b?ds=sidebyside Fix clang+MC+python builds --- diff --git a/src/bindings/python/simgrid_python.cpp b/src/bindings/python/simgrid_python.cpp index a0ec0d985a..710f8f889e 100644 --- a/src/bindings/python/simgrid_python.cpp +++ b/src/bindings/python/simgrid_python.cpp @@ -157,7 +157,7 @@ PYBIND11_MODULE(simgrid, m) /* Class Mailbox */ py::class_>(m, "Mailbox", "Mailbox, see :ref:`class s4u::Mailbox `") .def("__str__", [](Mailbox self) -> const std::string { - return std::string("Mailbox(")+self.get_name()+")"; + return std::string("Mailbox(")+self.get_cname()+")"; }, "Textual representation of the Mailbox`") .def("by_name", &Mailbox::by_name, "Retrieve a Mailbox from its name, see :cpp:func:`simgrid::s4u::Mailbox::by_name()`") .def_property_readonly("name", [](Mailbox* self) -> const std::string {