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
Uniformize get_impl(): const attribute, and return raw pointer.
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Storage.hpp
diff --git
a/include/simgrid/s4u/Storage.hpp
b/include/simgrid/s4u/Storage.hpp
index
dce77c5
..
09c09e2
100644
(file)
--- a/
include/simgrid/s4u/Storage.hpp
+++ b/
include/simgrid/s4u/Storage.hpp
@@
-70,7
+70,7
@@
public:
IoPtr write_async(sg_size_t size);
sg_size_t write(sg_size_t size);
- kernel::resource::StorageImpl* get_impl() { return pimpl_; }
+ kernel::resource::StorageImpl* get_impl()
const
{ return pimpl_; }
private:
Host* attached_to_ = nullptr;