Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use typed Mailbox::get<>() instead of using static_cast everywhere.
[simgrid.git] / src / mc / mc_private.hpp
index d8455b9..8bb642e 100644 (file)
 #include "src/mc/mc_forward.hpp"
 #include "src/xbt/memory_map.hpp"
 
-namespace simgrid {
-namespace mc {
-
-struct DerefAndCompareByActorsCountAndUsedHeap {
-  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);
-  }
-};
-}
-}
-
 /********************************* MC Global **********************************/
 
 XBT_PRIVATE void MC_init_dot_output();