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
move the simcall template to the kernel::actor namespace
[simgrid.git]
/
include
/
simgrid
/
simix
/
blocking_simcall.hpp
diff --git
a/include/simgrid/simix/blocking_simcall.hpp
b/include/simgrid/simix/blocking_simcall.hpp
index
43565d3
..
c8ba0f7
100644
(file)
--- a/
include/simgrid/simix/blocking_simcall.hpp
+++ b/
include/simgrid/simix/blocking_simcall.hpp
@@
-149,7
+149,7
@@
template <class F> auto kernel_async(F code) -> Future<decltype(code().get())>
typedef decltype(code().get()) T;
// Execute the code in the kernel and get the kernel future:
typedef decltype(code().get()) T;
// Execute the code in the kernel and get the kernel future:
- simgrid::kernel::Future<T> future = simgrid::
simix
::simcall(std::move(code));
+ simgrid::kernel::Future<T> future = simgrid::
kernel::actor
::simcall(std::move(code));
// Wrap the kernel future in a actor future:
return simgrid::simix::Future<T>(std::move(future));
// Wrap the kernel future in a actor future:
return simgrid::simix::Future<T>(std::move(future));