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
Define const is_used().
[simgrid.git]
/
src
/
surf
/
cpu_cas01.cpp
diff --git
a/src/surf/cpu_cas01.cpp
b/src/surf/cpu_cas01.cpp
index
9aae097
..
255ff2b
100644
(file)
--- a/
src/surf/cpu_cas01.cpp
+++ b/
src/surf/cpu_cas01.cpp
@@
-94,7
+94,7
@@
CpuCas01::CpuCas01(CpuCas01Model* model, s4u::Host* host, const std::vector<doub
CpuCas01::~CpuCas01() = default;
-bool CpuCas01::is_used()
+bool CpuCas01::is_used()
const
{
return get_model()->get_maxmin_system()->constraint_used(get_constraint());
}