- int nb_less_loaded=0;
- for (unsigned i = 0 ; i < pneigh.size() ; ++i) {
- nb_less_loaded+=(pneigh[i]->get_load()<=get_load());
- }
+ int nb_less_loaded = 0;
+ for (unsigned i = 0 ; i < pneigh.size() ; ++i) {
+ nb_less_loaded += (pneigh[i]->get_load() <= get_load());
+ }