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 4c9e6db3b9a7023a6de9a8b83b443f4490f9a237..e9b66c582cf204c6cfdf2130eaf53e6ec1a32f8d 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:
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 */
struct Metric {
double peak; /**< The peak of the metric, ie its max value */