X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9f6d5952986afb0af2bfc617cdab9a350fbc1050..24664d37168f5a0573d68e7da10e3ff9a9cc124e:/include/simgrid/jedule/jedule_platform.hpp diff --git a/include/simgrid/jedule/jedule_platform.hpp b/include/simgrid/jedule/jedule_platform.hpp index 4d328cf6e2..9079e9e9ad 100644 --- a/include/simgrid/jedule/jedule_platform.hpp +++ b/include/simgrid/jedule/jedule_platform.hpp @@ -31,7 +31,7 @@ public: const char* get_cname() const { return name.c_str(); } void set_parent(Container* parent) { parent_ = parent; } bool has_children() { return not children_.empty(); } - int get_child_position(Container* child); + int get_child_position(const Container* child) const; unsigned int get_id_by_name(const char* name) { return name2id.at(name); } void add_child(Container* child);