Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
allow to specify the stack size on a per-actor basis
[simgrid.git] / src / kernel / context / Context.hpp
index 84dc108..813856f 100644 (file)
@@ -58,7 +58,7 @@ public:
   void set_wannadie(bool value = true) { iwannadie_ = value; }
   void operator()() { code_(); }
   bool has_code() const { return static_cast<bool>(code_); }
-  actor::ActorImpl* get_actor() { return this->actor_; }
+  actor::ActorImpl* get_actor() const { return this->actor_; }
 
   // Scheduling methods
   virtual void stop();