Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Constify pointer and reference parameters in src/kernel/.
[simgrid.git] / src / kernel / context / ContextSwapped.cpp
index e2ca416..862ef93 100644 (file)
@@ -162,7 +162,7 @@ void SwappedContextFactory::run_all()
     //     It only yields back to worker_context when the work array is exhausted.
     //   - So, resume() is only launched from the parmap for the first job of each minion.
     parmap_->apply(
-        [](smx_actor_t process) {
+        [](const actor::ActorImpl* process) {
           SwappedContext* context = static_cast<SwappedContext*>(process->context_.get());
           context->resume();
         },