From 4002ef2864a3fec23e61f8fcaa052373283c430c Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Fri, 4 Feb 2011 23:36:03 +0100 Subject: [PATCH 1/1] Correctly initialize members for deployment_generator::host_parameters. --- deployment.h | 2 ++ 1 file changed, 2 insertions(+) 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 neighbors; }; -- 2.39.5