X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/627cef048b8d7a523fa6d2ccaec750eccb0468e9..d3c605045fe8c525f32393a054425d72edf47b18:/include/simgrid/kernel/resource/Action.hpp diff --git a/include/simgrid/kernel/resource/Action.hpp b/include/simgrid/kernel/resource/Action.hpp index 141df6402d..c0c0aec5e4 100644 --- a/include/simgrid/kernel/resource/Action.hpp +++ b/include/simgrid/kernel/resource/Action.hpp @@ -13,7 +13,7 @@ #include #include -const int NO_MAX_DURATION = -1.0; +static constexpr int NO_MAX_DURATION = -1.0; namespace simgrid { namespace kernel { @@ -193,9 +193,9 @@ private: boost::optional heap_hook_ = boost::none; public: - 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); + void heapInsert(double key, Action::Type hat); + void heapRemove(); + void heapUpdate(double key, Action::Type hat); void clearHeapHandle() { heap_hook_ = boost::none; } lmm::Variable* get_variable() const { return variable_; }