From: Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Date: Fri, 4 Feb 2011 22:36:03 +0000 (+0100)
Subject: Correctly initialize members for deployment_generator::host_parameters.
X-Git-Tag: v0.1~170
X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/4002ef2864a3fec23e61f8fcaa052373283c430c?ds=inline

Correctly initialize members for deployment_generator::host_parameters.
---

diff --git a/deployment.h b/deployment.h
index 3e71df5..d308ff6 100644
--- a/deployment.h
+++ b/deployment.h
@@ -21,6 +21,8 @@ public:
 
 private:
     struct host_parameters {
+        host_parameters(): load(0.0) { }
+
         double load;
         std::vector<int> neighbors;
     };