X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9104957deccc59e0e804215d5db498fabfd40d29..4b0fa756ae6e58a74c374a519389ecb9e8b6a4d9:/include/simgrid/simix.hpp diff --git a/include/simgrid/simix.hpp b/include/simgrid/simix.hpp index 115fdff27c..db2d157f27 100644 --- a/include/simgrid/simix.hpp +++ b/include/simgrid/simix.hpp @@ -11,6 +11,7 @@ #include #include #include +#include #include #include @@ -109,7 +110,7 @@ public: Timer(double date, simgrid::xbt::Task&& callback) : date(date), callback(std::move(callback)) {} simgrid::xbt::Task callback; - double get_date() { return date; } + double get_date() const { return date; } void remove(); template static inline Timer* set(double date, F callback)