-#include <algorithm>
#include <xbt/log.h>
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(loba);
void loba_makhoul::load_balance()
{
- std::sort(pneigh.begin(), pneigh.end(), pneigh_load_less());
+ pneigh_sort_by_load(std::less<double>());
print_loads_p(false, xbt_log_priority_debug);