Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Define const get_iface().
[simgrid.git] / src / kernel / resource / DiskImpl.hpp
index 29841c2..9671f44 100644 (file)
@@ -64,6 +64,7 @@ public:
   ~DiskImpl() override;
 
   /** @brief Public interface */
+  const s4u::Disk* get_iface() const { return &piface_; }
   s4u::Disk* get_iface() { return &piface_; }
   s4u::Host* get_host() const { return host_; }
   void set_host(s4u::Host* host) { host_ = host; }