X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8df87e176f27b25534f27d7e240defa32ca35bc..3be0e40470cc0b620de276e2d979883496fc42ae:/include/xbt/replay.hpp diff --git a/include/xbt/replay.hpp b/include/xbt/replay.hpp index b685b046b7..f612332d78 100644 --- a/include/xbt/replay.hpp +++ b/include/xbt/replay.hpp @@ -26,7 +26,7 @@ XBT_PUBLIC int replay_runner(const char* actor_name, const char* trace_filename) } typedef std::function action_fun; -XBT_PUBLIC void xbt_replay_action_register(const char* action_name, action_fun function); +XBT_PUBLIC void xbt_replay_action_register(const char* action_name, const action_fun& function); XBT_PUBLIC action_fun xbt_replay_action_get(const char* action_name); #endif