X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d55d6bbb810c783c7cccbf6667381cf6fcf760c5..a2428d214e4043d8a986aab424abf693a768b918:/include/simgrid/s4u/Actor.hpp diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index 9d7e994d98..901695cc9c 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -83,7 +83,7 @@ public: /** Add a callback fired when a new actor has been created **/ static void on_creation_cb(const std::function& cb) { on_creation.connect(cb); } /** Add a callback fired when an actor has been suspended**/ - static void on_suspend_cb(const std::function cb) { on_suspend.connect(cb); } + static void on_suspend_cb(const std::function& cb) { on_suspend.connect(cb); } /** Add a callback fired when an actor has been resumed **/ static void on_resume_cb(const std::function& cb) { on_resume.connect(cb); } /** Add a callback fired when an actor starts sleeping **/