From: Arnaud Giersch 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=sidebyside;hp=af35c0c75c52b0cf5d0518656473503f67a79613 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 neighbors; };