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

Public GIT Repository
Correct a few a/an.
[simgrid.git] / include / simgrid / s4u / Io.hpp
index b4ef0c27b15b049f69ca5776d1ec1b28147de889..e979fb52e59c5c17992d90c7aee2da34da7b4830 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2017-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2017-2020. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -38,16 +38,15 @@ public:
   friend Storage; // Factory of IOs
 #endif
 
-  ~Io() = default;
+  ~Io() override = default;
 
   Io* start() override;
   Io* wait() override;
   Io* wait_for(double timeout) override;
   Io* cancel() override;
-  bool test() override;
 
-  double get_remaining() override;
-  sg_size_t get_performed_ioops();
+  double get_remaining() const override;
+  sg_size_t get_performed_ioops() const;
 };
 
 } // namespace s4u