Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rollback a little in programmatic description of disks
[simgrid.git] / include / simgrid / s4u / Disk.hpp
index 93a8e3b..9d332e4 100644 (file)
@@ -43,7 +43,7 @@ protected:
 
 public:
 #ifndef DOXYGEN
-  explicit Disk(kernel::resource::DiskImpl* pimpl) : pimpl_(pimpl) {}
+  explicit Disk(const std::string& name, kernel::resource::DiskImpl* pimpl) : pimpl_(pimpl), name_(name) {}
 #endif
 
   /** @brief Callback signal fired when a new Disk is created */