Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Hide a bit an internal method (make it protected)
[simgrid.git] / include / simgrid / s4u / Io.hpp
index edee8ac..fbab9a8 100644 (file)
@@ -29,12 +29,12 @@ class XBT_PUBLIC Io : public Activity_T<Io> {
 protected:
   explicit Io(kernel::activity::IoImplPtr pimpl);
   Io* do_start() override;
+  void fire_this_completion() const override { on_completion(*this); }
 
 public:
   enum class OpType { READ, WRITE };
 
   static void on_start_cb(const std::function<void(Io const&)>& cb) { on_start.connect(cb); }
-  void fire_this_completion() const override { on_completion(*this); }
 
   static IoPtr init();
   /*! take a vector of s4u::IoPtr and return when one of them is finished.