Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Spurious ;
[simgrid.git] / src / xbt / xbt_replay.cpp
index 5c7abe0..25d6d2c 100644 (file)
@@ -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;
 }