]> AND Private Git Repository - loba.git/commitdiff
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Correctly initialize members for deployment_generator::host_parameters.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 4 Feb 2011 22:36:03 +0000 (23:36 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 4 Feb 2011 22:36:03 +0000 (23:36 +0100)
deployment.h

index 3e71df584efa6abaa0db0c9186f0262e385e42bb..d308ff6a651ded0fda40c72483cf9a9128bddfe6 100644 (file)
@@ -21,6 +21,8 @@ public:
 
 private:
     struct host_parameters {
+        host_parameters(): load(0.0) { }
+
         double load;
         std::vector<int> neighbors;
     };