X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/47b02c768e720ce83e3b0395ed1e3433a7de162d..2d30a417c2362b797b83c98f038a47a655a07180:/include/simgrid/s4u/Disk.hpp diff --git a/include/simgrid/s4u/Disk.hpp b/include/simgrid/s4u/Disk.hpp index 9d332e4d42..0d051c802f 100644 --- a/include/simgrid/s4u/Disk.hpp +++ b/include/simgrid/s4u/Disk.hpp @@ -71,13 +71,13 @@ public: Disk* set_host(Host* host); Host* get_host() const; - IoPtr io_init(sg_size_t size, s4u::Io::OpType type); + IoPtr io_init(sg_size_t size, s4u::Io::OpType type) const; - IoPtr read_async(sg_size_t size); - sg_size_t read(sg_size_t size); + IoPtr read_async(sg_size_t size) const; + sg_size_t read(sg_size_t size) const; - IoPtr write_async(sg_size_t size); - sg_size_t write(sg_size_t size); + IoPtr write_async(sg_size_t size) const; + sg_size_t write(sg_size_t size) const; void seal(); #ifndef DOXYGEN