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
Add const attribute.
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Link.hpp
diff --git
a/include/simgrid/s4u/Link.hpp
b/include/simgrid/s4u/Link.hpp
index
f713c35
..
c34383a
100644
(file)
--- a/
include/simgrid/s4u/Link.hpp
+++ b/
include/simgrid/s4u/Link.hpp
@@
-60,9
+60,9
@@
public:
bool is_used();
void turn_on();
- bool is_on();
+ bool is_on()
const
;
void turn_off();
- bool is_off();
+ bool is_off()
const
;
void* get_data(); /** Should be used only from the C interface. Prefer extensions in C++ */
void set_data(void* d);