X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/79739657970ffcf609c1e90f6112e8f5a8583801..cf975a3147956b454a79d81f3557a13ba7800083:/include/simgrid/kernel/resource/Action.hpp?ds=inline diff --git a/include/simgrid/kernel/resource/Action.hpp b/include/simgrid/kernel/resource/Action.hpp index 20e877ca76..f3fa29799d 100644 --- a/include/simgrid/kernel/resource/Action.hpp +++ b/include/simgrid/kernel/resource/Action.hpp @@ -117,6 +117,8 @@ public: * @param delta Amount to remove from the remaining time */ void update_remains(double delta); + virtual void update_remains_lazy(double now) = 0; + /** @brief Set the remaining time of the current action */ void set_remains(double value) { remains_ = value; } @@ -193,7 +195,6 @@ private: boost::optional heap_handle_ = boost::none; public: - virtual void updateRemainingLazy(double now) = 0; void heapInsert(heap_type& heap, double key, Action::Type hat); void heapRemove(heap_type& heap); void heapUpdate(heap_type& heap, double key, Action::Type hat);