X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0a2f1350bf1944709dba8751e85896cc0998bc38..7cd237f9659b2df47fca65a4340ca7b5407f46a0:/src/smpi/plugins/load_balancer/load_balancer.hpp diff --git a/src/smpi/plugins/load_balancer/load_balancer.hpp b/src/smpi/plugins/load_balancer/load_balancer.hpp index 4924337984..3c87f07c97 100644 --- a/src/smpi/plugins/load_balancer/load_balancer.hpp +++ b/src/smpi/plugins/load_balancer/load_balancer.hpp @@ -46,11 +46,8 @@ public: void for_each_actor(simgrid::s4u::Host* host, const std::function& callback) { auto range = host_to_actors.equal_range(host); - std::for_each( - range.first, - range.second, - [&callback](host_to_actors_map_t::value_type& x) { callback(x.second); } - ); + std::for_each(range.first, range.second, + [&callback](host_to_actors_map_t::value_type const& x) { callback(x.second); }); } };