X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/06461662337a4831f2d69e3b0afe5cbe17ed9474..978002647ac64c5880295a6c4ddde0cc50cab465:/src/kernel/resource/Resource.hpp?ds=sidebyside diff --git a/src/kernel/resource/Resource.hpp b/src/kernel/resource/Resource.hpp index 4c9e6db3b9..e9b66c582c 100644 --- 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 */