X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d10d0478b6fd821b68c42a897b85ee9c42393778..2807fde4fd1f59c230d69a934634c5dfb77905f2:/src/surf/maxmin_private.hpp diff --git a/src/surf/maxmin_private.hpp b/src/surf/maxmin_private.hpp index 10a1d0f58f..03505578a2 100644 --- a/src/surf/maxmin_private.hpp +++ b/src/surf/maxmin_private.hpp @@ -11,6 +11,8 @@ #include "xbt/mallocator.h" #include "xbt/swag.h" +#include + /** @ingroup SURF_lmm * @brief LMM element * Elements can be seen as glue between constraint objects and variable objects. @@ -83,9 +85,7 @@ struct s_lmm_variable_t { s_xbt_swag_hookup_t variable_set_hookup; s_xbt_swag_hookup_t saturated_variable_set_hookup; - s_lmm_element_t *cnsts; - int cnsts_size; - int cnsts_number; + std::vector cnsts; // sharing_weight: variable's impact on the resource during the sharing // if == 0, the variable is not considered by LMM