Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Field is never changed after construction.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 30 Mar 2022 09:16:06 +0000 (11:16 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 30 Mar 2022 13:13:34 +0000 (15:13 +0200)
src/kernel/lmm/System.hpp

index 58b2d83..9610b79 100644 (file)
@@ -587,7 +587,7 @@ public:
       saturated_constraint_set;
 
 protected:
-  bool selective_update_active; /* flag to update partially the system only selecting changed portions */
+  const bool selective_update_active; /* flag to update partially the system only selecting changed portions */
   boost::intrusive::list<Constraint, boost::intrusive::member_hook<Constraint, boost::intrusive::list_member_hook<>,
                                                                    &Constraint::modified_constraint_set_hook_>>
       modified_constraint_set;
@@ -610,4 +610,4 @@ private:
 } // namespace kernel
 } // namespace simgrid
 
-#endif
\ No newline at end of file
+#endif