X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96cedde3cdbc0b8ffc3f096a1b65d021b0226f99..745a5ade14924e2b2684a280e4cb75a9c1d3bee7:/src/xbt/xbt_replay.cpp diff --git a/src/xbt/xbt_replay.cpp b/src/xbt/xbt_replay.cpp index 5c7abe03a9..25d6d2c54c 100644 --- a/src/xbt/xbt_replay.cpp +++ b/src/xbt/xbt_replay.cpp @@ -163,7 +163,7 @@ int replay_runner(const char* actor_name, const char* trace_filename) * @param action_name the reference name of the action. * @param function prototype given by the type: void...(const char** action) */ -void xbt_replay_action_register(const char* action_name, action_fun function) +void xbt_replay_action_register(const char* action_name, const action_fun& function) { simgrid::xbt::action_funs[std::string(action_name)] = function; }