X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96cedde3cdbc0b8ffc3f096a1b65d021b0226f99..cdf6a962eb4e88efbed3df9c41343adabcf09e6c:/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