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 some const qualifier, needed for later changes.
[simgrid.git]
/
src
/
s4u
/
s4u_Link.cpp
diff --git
a/src/s4u/s4u_Link.cpp
b/src/s4u/s4u_Link.cpp
index
86f5c31
..
3b34973
100644
(file)
--- a/
src/s4u/s4u_Link.cpp
+++ b/
src/s4u/s4u_Link.cpp
@@
-49,12
+49,12
@@
bool Link::is_used()
return this->pimpl_->is_used();
}
return this->pimpl_->is_used();
}
-double Link::get_latency()
+double Link::get_latency()
const
{
return this->pimpl_->get_latency();
}
{
return this->pimpl_->get_latency();
}
-double Link::get_bandwidth()
+double Link::get_bandwidth()
const
{
return this->pimpl_->get_bandwidth();
}
{
return this->pimpl_->get_bandwidth();
}