X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/59649246c9a98ceda4bffa85ed4bd01a3c48adab..75e8b2ae65722d849ef899616de7091286ec91f5:/include/simgrid/s4u/Disk.hpp diff --git a/include/simgrid/s4u/Disk.hpp b/include/simgrid/s4u/Disk.hpp index 78c411564d..026302cbb2 100644 --- a/include/simgrid/s4u/Disk.hpp +++ b/include/simgrid/s4u/Disk.hpp @@ -50,11 +50,11 @@ public: /** @brief Retrieves the name of that disk as a C string */ const char* get_cname() const { return name_.c_str(); } double get_read_bandwidth() const; - double get_write_bandwidth(); + double get_write_bandwidth() const; const std::unordered_map* get_properties() const; const char* get_property(const std::string& key) const; void set_property(const std::string&, const std::string& value); - Host* get_host(); + Host* get_host() const; IoPtr io_init(sg_size_t size, s4u::Io::OpType type);