From 3c4fb0b5a82e4449f6d6d8470714fcfb39c9db1b Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 16 Mar 2019 08:38:45 +0100 Subject: [PATCH] Fix clang+MC+python builds --- src/bindings/python/simgrid_python.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.20.1