]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/kernel/resource/Model.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Prefer "using" to "typedef".
[simgrid.git] / include / simgrid / kernel / resource / Model.hpp
index 63c25420298dffdf420bcb82850cbf654249f3ac..ac5ccd72ef32a86f711421abc3a8e6726e9df829 100644 (file)
@@ -34,7 +34,7 @@ public:
 
   virtual ~Model();
 
-  bool is_update_lazy() { return update_algorithm_ == UpdateAlgo::LAZY; }
+  bool is_update_lazy() const { return update_algorithm_ == UpdateAlgo::LAZY; }
 
   /** @brief Get the set of [actions](@ref Action) in *inited* state */
   Action::StateSet* get_inited_action_set() { return &inited_action_set_; }