X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/149d519becf489d1cfd2099be8d260322c3f4fda..7f626fa7e7d9a7d28fdc994ae197f82f0a0c6e52:/src/mc/explo/Exploration.hpp diff --git a/src/mc/explo/Exploration.hpp b/src/mc/explo/Exploration.hpp index ee5471c596..9dfebd25f4 100644 --- a/src/mc/explo/Exploration.hpp +++ b/src/mc/explo/Exploration.hpp @@ -66,18 +66,6 @@ XBT_PUBLIC Exploration* create_dfs_exploration(const std::vector& args, b XBT_PUBLIC Exploration* create_communication_determinism_checker(const std::vector& args, bool with_dpor); XBT_PUBLIC Exploration* create_udpor_checker(const std::vector& args); -// FIXME: kill this template and use lambdas in boost::range_equal -struct DerefAndCompareByActorsCountAndUsedHeap { - template bool operator()(X const& a, Y const& b) const - { - return std::make_pair(a->actor_count_, a->heap_bytes_used) < std::make_pair(b->actor_count_, b->heap_bytes_used); - } -}; -static inline DerefAndCompareByActorsCountAndUsedHeap compare_pair_by_actor_count_and_used_heap() -{ - return DerefAndCompareByActorsCountAndUsedHeap(); -} - } // namespace simgrid::mc #endif