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
make SIMIX_context_self() useless and use Context::self() instead
[simgrid.git]
/
src
/
s4u
/
s4u_Actor.cpp
diff --git
a/src/s4u/s4u_Actor.cpp
b/src/s4u/s4u_Actor.cpp
index
83ea571
..
f693e25
100644
(file)
--- a/
src/s4u/s4u_Actor.cpp
+++ b/
src/s4u/s4u_Actor.cpp
@@
-31,7
+31,7
@@
simgrid::xbt::signal<void(simgrid::s4u::ActorPtr)> s4u::Actor::on_destruction;
// ***** Actor creation *****
ActorPtr Actor::self()
{
// ***** Actor creation *****
ActorPtr Actor::self()
{
- smx_context_t self_context =
SIMIX_context_
self();
+ smx_context_t self_context =
simgrid::kernel::context::Context::
self();
if (self_context == nullptr)
return simgrid::s4u::ActorPtr();
if (self_context == nullptr)
return simgrid::s4u::ActorPtr();