X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ab4e3460d8430c1554e79c6b17672218cd349f93..7c95c31d16b5872e62a8e6e9a0990e18bf4dbba8:/include/simgrid/s4u/Task.hpp diff --git a/include/simgrid/s4u/Task.hpp b/include/simgrid/s4u/Task.hpp index 36e6e0dbd2..f2b6eb6d75 100644 --- a/include/simgrid/s4u/Task.hpp +++ b/include/simgrid/s4u/Task.hpp @@ -67,7 +67,7 @@ public: double get_amount() const { return amount_; } int get_count() const { return count_; } void set_parallelism_degree(int n); - int get_parallelism_degree() { return parallelism_degree_; } + int get_parallelism_degree() const { return parallelism_degree_; } void set_token(std::shared_ptr token); std::shared_ptr get_next_token_from(TaskPtr t);