X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6260d187764dc644d699e1a53454f7efdcc682df..874aec87c7ce1894a9f017d2adf07ce7b8abe71d:/include/simgrid/s4u/Comm.hpp diff --git a/include/simgrid/s4u/Comm.hpp b/include/simgrid/s4u/Comm.hpp index 2f07115b35..a92f87f542 100644 --- a/include/simgrid/s4u/Comm.hpp +++ b/include/simgrid/s4u/Comm.hpp @@ -68,7 +68,7 @@ public: /*! \static Add a callback fired when the send of any Comm is posted */ static void on_send_cb(const std::function& cb) { on_send.connect(cb); } /*! Add a callback fired when the send of this specific Comm is posted */ - void on_this_send_cb(const std::function& cb) { on_send.connect(cb); } + void on_this_send_cb(const std::function& cb) { on_this_send.connect(cb); } /*! \static Add a callback fired when the recv of any Comm is posted */ static void on_recv_cb(const std::function& cb) { on_recv.connect(cb); } /*! Add a callback fired when the recv of this specific Comm is posted */