Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Initialize variable there too.
[simgrid.git] / src / surf / surf.hpp
index 6457414..8dab3fd 100644 (file)
@@ -202,7 +202,7 @@ private:
 
 class ResourceLmm: virtual public Resource {
 public:
-  ResourceLmm() {};
+  ResourceLmm() { p_power.event = NULL; };
   ResourceLmm(surf_model_t model, const char *name, xbt_dict_t props,
                            lmm_system_t system,
                            double constraint_value,