Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Context::get_actor() has become const.
[simgrid.git] / src / kernel / actor / ActorImpl.cpp
index 7c801df..a6bc8e9 100644 (file)
@@ -47,7 +47,7 @@ int get_maxpid()
 
 ActorImpl* ActorImpl::self()
 {
-  context::Context* self_context = context::Context::self();
+  const context::Context* self_context = context::Context::self();
 
   return (self_context != nullptr) ? self_context->get_actor() : nullptr;
 }