]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/s4u/Io.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
No more types for models.
[simgrid.git] / include / simgrid / s4u / Io.hpp
index 0191c7aa0fcc495750cf9223a848a06b23f6dfd6..a4423ba8d1912795591faeb232215b45f5b63993 100644 (file)
@@ -33,8 +33,6 @@ private:
 public:
 #ifndef DOXYGEN
   friend Disk;    // Factory of IOs
-
-  ~Io() override = default;
 #endif
 
   static xbt::signal<void(Io const&)> on_start;
@@ -52,7 +50,7 @@ public:
   IoPtr set_size(sg_size_t size);
   IoPtr set_op_type(OpType type);
 
-  bool is_assigned() { return disk_ != nullptr; }
+  bool is_assigned() const override { return disk_ != nullptr; }
 };
 
 } // namespace s4u