Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix host name issue with ns3 wifi, add ssid, set active probing to false
[simgrid.git] / src / mc / mc_private.hpp
index 3feeed90bf3b92f54a3a84f958826d3ff0003929..c89997cb0ae8f6ffb9d2c11da5b8301190e0a3c4 100644 (file)
@@ -16,7 +16,7 @@ namespace simgrid {
 namespace mc {
 
 struct DerefAndCompareByActorsCountAndUsedHeap {
-  template <class X, class Y> bool operator()(X const& a, Y const& b)
+  template <class X, class Y> 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);
   }