Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make field private.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 12 Mar 2018 08:37:30 +0000 (09:37 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Mon, 12 Mar 2018 10:26:22 +0000 (11:26 +0100)
src/kernel/resource/Resource.hpp

index e9b66c5..8bf9885 100644 (file)
@@ -72,9 +72,10 @@ public: /* LMM */
   /** @brief Get the lmm constraint associated to this Resource if it is part of a LMM component (or null if none) */
   kernel::lmm::Constraint* constraint() const;
 
   /** @brief Get the lmm constraint associated to this Resource if it is part of a LMM component (or null if none) */
   kernel::lmm::Constraint* constraint() const;
 
-protected:
+private:
   kernel::lmm::Constraint* const constraint_ = nullptr;
 
   kernel::lmm::Constraint* const constraint_ = nullptr;
 
+protected:
   struct Metric {
     double peak;              /**< The peak of the metric, ie its max value */
     double scale;             /**< Current availability of the metric according to the traces, in [0,1] */
   struct Metric {
     double peak;              /**< The peak of the metric, ie its max value */
     double scale;             /**< Current availability of the metric according to the traces, in [0,1] */