Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Replace swag by boost::intrusive::list in surf
[simgrid.git] / src / surf / maxmin_private.hpp
similarity index 98%
rename from src/surf/maxmin_private.h
rename to src/surf/maxmin_private.hpp
index a753f96..f7f75c0 100644 (file)
@@ -10,6 +10,7 @@
 #include "surf/maxmin.h"
 #include "xbt/swag.h"
 #include "xbt/mallocator.h"
+#include "surf_interface.hpp"
 
 typedef struct lmm_element {
   /* hookup to constraint */
@@ -84,7 +85,7 @@ typedef struct lmm_system {
   s_xbt_swag_t saturated_variable_set;  /* a list of lmm_variable_t */
   s_xbt_swag_t saturated_constraint_set;        /* a list of lmm_constraint_t_t */
 
-  xbt_swag_t keep_track;
+  ActionLmmListPtr keep_track;
 
   xbt_mallocator_t variable_mallocator;
 } s_lmm_system_t;