A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Align Disk get/set_data() with the Extendable version of that feature
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Disk.hpp
diff --git
a/include/simgrid/s4u/Disk.hpp
b/include/simgrid/s4u/Disk.hpp
index
7715095
..
6aa867a
100644
(file)
--- 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_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);
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_;
private:
kernel::resource::DiskImpl* const pimpl_;
std::string name_;
- void* userdata_ = nullptr;
};
} // namespace s4u
};
} // namespace s4u