X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9104957deccc59e0e804215d5db498fabfd40d29..4b90ce2abff77ca7898fd9292a122440df739916:/src/mc/mc_private.hpp diff --git a/src/mc/mc_private.hpp b/src/mc/mc_private.hpp index 3feeed90bf..c89997cb0a 100644 --- a/src/mc/mc_private.hpp +++ b/src/mc/mc_private.hpp @@ -16,7 +16,7 @@ namespace simgrid { namespace mc { struct DerefAndCompareByActorsCountAndUsedHeap { - template bool operator()(X const& a, Y const& b) + template bool operator()(X const& a, Y const& b) const { return std::make_pair(a->actors_count, a->heap_bytes_used) < std::make_pair(b->actors_count, b->heap_bytes_used); }