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
Avoid deprecated type alias.
[simgrid.git]
/
src
/
kernel
/
context
/
Context.cpp
diff --git
a/src/kernel/context/Context.cpp
b/src/kernel/context/Context.cpp
index
ba398a1
..
145e1e1
100644
(file)
--- a/
src/kernel/context/Context.cpp
+++ b/
src/kernel/context/Context.cpp
@@
-22,7
+22,7
@@
ContextFactoryInitializer factory_initializer = nullptr;
ContextFactory::~ContextFactory() = default;
-static thread_local
smx_context_t
smx_current_context = nullptr;
+static thread_local
Context*
smx_current_context = nullptr;
Context* Context::self()
{
return smx_current_context;