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
Fix spurious const_cast.
[simgrid.git]
/
src
/
kernel
/
resource
/
Resource.hpp
diff --git
a/src/kernel/resource/Resource.hpp
b/src/kernel/resource/Resource.hpp
index
4c9e6db
..
e9b66c5
100644
(file)
--- a/
src/kernel/resource/Resource.hpp
+++ b/
src/kernel/resource/Resource.hpp
@@
-73,7
+73,7
@@
public: /* LMM */
kernel::lmm::Constraint* constraint() const;
protected:
-
const kernel::lmm::Constraint*
constraint_ = nullptr;
+
kernel::lmm::Constraint* const
constraint_ = nullptr;
struct Metric {
double peak; /**< The peak of the metric, ie its max value */