From 1a6da70ca45ee0e67731f333366c4c3a84543baa Mon Sep 17 00:00:00 2001 From: Frederic Suter Date: Tue, 17 Sep 2019 09:07:08 +0200 Subject: [PATCH] Align Disk get/set_data() with the Extendable version of that feature --- include/simgrid/s4u/Disk.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/simgrid/s4u/Disk.hpp b/include/simgrid/s4u/Disk.hpp index 771509594c..6aa867a229 100644 --- a/include/simgrid/s4u/Disk.hpp +++ b/include/simgrid/s4u/Disk.hpp @@ -54,9 +54,6 @@ public: void set_property(const std::string&, const std::string& value); Host* get_host(); - void set_data(void* data) { userdata_ = data; } - void* get_data() { return userdata_; } - IoPtr io_init(sg_size_t size, s4u::Io::OpType type); IoPtr read_async(sg_size_t size); @@ -69,7 +66,6 @@ public: private: kernel::resource::DiskImpl* const pimpl_; std::string name_; - void* userdata_ = nullptr; }; } // namespace s4u -- 2.20.1