Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix include.
[simgrid.git] / src / simix / smx_private.hpp
index 6945526db10e7df5ff69b2cafdc8ee7c7a1f0a8d..f114e5ffefcc5b8516bcefebe32a66fcc942e594 100644 (file)
@@ -20,7 +20,7 @@ class Global {
   kernel::actor::ActorImpl* maestro_                = nullptr;
 
 public:
-  bool is_maestro(kernel::actor::ActorImpl* actor) const { return actor == maestro_; }
+  bool is_maestro(const kernel::actor::ActorImpl* actor) const { return actor == maestro_; }
   void set_maestro(kernel::actor::ActorImpl* actor) { maestro_ = actor; }
   kernel::actor::ActorImpl* get_maestro() const { return maestro_; }
   void destroy_maestro()