Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sonar cosmetics.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 2 Oct 2018 11:47:27 +0000 (13:47 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 2 Oct 2018 11:47:52 +0000 (13:47 +0200)
src/smpi/plugins/load_balancer/LoadBalancer.cpp
src/smpi/plugins/load_balancer/load_balancer.hpp

index bf993dc..a95a116 100644 (file)
@@ -18,7 +18,8 @@ namespace simgrid {
 namespace plugin {
 namespace loadbalancer {
 
-struct XBT_PRIVATE compare_hosts {
+class XBT_PRIVATE compare_hosts {
+public:
   bool operator()(simgrid::s4u::Host* const a, simgrid::s4u::Host* const b) const;
 };
 
index 44a2d08..2d1ec8d 100644 (file)
@@ -72,7 +72,6 @@ public:
    */
   simgrid::s4u::Host* get_mapping(simgrid::s4u::ActorPtr);
   void record_actor_computation(simgrid::s4u::ActorPtr actor, double load);
-private:
 };
 
 }