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
obey our coding standards and cosmetics
[simgrid.git]
/
src
/
simix
/
smx_deployment.cpp
diff --git
a/src/simix/smx_deployment.cpp
b/src/simix/smx_deployment.cpp
index
d2ff0f1
..
79a4993
100644
(file)
--- a/
src/simix/smx_deployment.cpp
+++ b/
src/simix/smx_deployment.cpp
@@
-58,9
+58,7
@@
void SIMIX_launch_application(const char *file)
// Wrap a main() function into a ActorCodeFactory:
static simgrid::simix::ActorCodeFactory toActorCodeFactory(xbt_main_func_t code)
{
// Wrap a main() function into a ActorCodeFactory:
static simgrid::simix::ActorCodeFactory toActorCodeFactory(xbt_main_func_t code)
{
- return [code](std::vector<std::string> args) {
- return simgrid::xbt::wrapMain(code, std::move(args));
- };
+ return [code](std::vector<std::string> args) { return simgrid::xbt::wrap_main(code, std::move(args)); };
}
/**
}
/**
@@
-146,7
+144,7
@@
void SIMIX_process_set_function(const char* process_host, const char* process_fu
namespace simgrid {
namespace simix {
namespace simgrid {
namespace simix {
-void register
F
unction(const char* name, ActorCodeFactory factory)
+void register
_f
unction(const char* name, ActorCodeFactory factory)
{
simix_global->registered_functions[name] = std::move(factory);
}
{
simix_global->registered_functions[name] = std::move(factory);
}