Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Hide a bit an internal method (make it protected)
[simgrid.git] / include / simgrid / s4u / Exec.hpp
index 6d788ed..df0183f 100644 (file)
@@ -43,6 +43,7 @@ protected:
   void reset() const;
 
   static xbt::signal<void(Exec const&)> on_start;
+  void fire_this_completion() const override { on_completion(*this); }
 
 public:
 #ifndef DOXYGEN
@@ -51,7 +52,6 @@ public:
 #endif
   /*! Signal fired each time that an execution actually starts (no veto) */
   static void on_start_cb(const std::function<void(Exec const&)>& cb) { on_start.connect(cb); }
-  void fire_this_completion() const override { on_completion(*this); }
 
   static ExecPtr init();