Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement a (cheap) ActorImpl::is_maestro()
[simgrid.git] / src / kernel / context / ContextThread.cpp
index 53c0ba8..eb2c6c0 100644 (file)
@@ -60,7 +60,7 @@ void ThreadContextFactory::run_all()
 // ThreadContext
 
 ThreadContext::ThreadContext(std::function<void()>&& code, actor::ActorImpl* actor, bool maestro)
-    : AttachContext(std::move(code), actor), is_maestro_(maestro)
+    : AttachContext(std::move(code), actormaestro)
 {
   /* If the user provided a function for the actor then use it */
   if (has_code()) {