A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into CRTP
[simgrid.git]
/
include
/
xbt
/
replay.hpp
diff --git
a/include/xbt/replay.hpp
b/include/xbt/replay.hpp
index
b685b04
..
f612332
100644
(file)
--- 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<void(simgrid::xbt::ReplayAction&)> action_fun;
}
typedef std::function<void(simgrid::xbt::ReplayAction&)> 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
XBT_PUBLIC action_fun xbt_replay_action_get(const char* action_name);
#endif