Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add on_this_veto signal to Activities
[simgrid.git] / include / simgrid / s4u / Io.hpp
index f39fa19..cb75b50 100644 (file)
@@ -32,11 +32,12 @@ protected:
   Io* do_start() override;
   void fire_on_completion() const override { on_completion(*this); }
   void fire_on_this_completion() const override { on_this_completion(*this); }
-  void fire_on_veto() const override { on_veto(const_cast<Io&>(*this)); }
   void fire_on_suspend() const override { on_suspend(*this); }
   void fire_on_this_suspend() const override { on_this_suspend(*this); }
   void fire_on_resume() const override { on_resume(*this); }
   void fire_on_this_resume() const override { on_this_resume(*this); }
+  void fire_on_veto() const override { on_veto(const_cast<Io&>(*this)); }
+  void fire_on_this_veto() const override { on_this_veto(const_cast<Io&>(*this)); }
 
 public:
   enum class OpType { READ, WRITE };