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
More references for parameters of type std::function.
[simgrid.git]
/
src
/
simix
/
smx_deployment.cpp
diff --git
a/src/simix/smx_deployment.cpp
b/src/simix/smx_deployment.cpp
index
71297e7
..
f79f6c3
100644
(file)
--- a/
src/simix/smx_deployment.cpp
+++ b/
src/simix/smx_deployment.cpp
@@
-161,9
+161,9
@@
void SIMIX_process_set_function(const char* process_host, const char* process_fu
namespace simgrid {
namespace simix {
namespace simgrid {
namespace simix {
-void register_function(const std::string& name,
ActorCodeFactory
factory)
+void register_function(const std::string& name,
const ActorCodeFactory&
factory)
{
{
- simix_global->registered_functions[name] =
std::move(factory)
;
+ simix_global->registered_functions[name] =
factory
;
}
}
}
}