X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2c9b1d9a6603e3f0e9c95b23c33e05f151e1a74b..168838f1188d373523a63281e1b714948eef913f:/src/surf/network.cpp diff --git a/src/surf/network.cpp b/src/surf/network.cpp index 8fa588e5dc..5bae319a51 100644 --- a/src/surf/network.cpp +++ b/src/surf/network.cpp @@ -250,7 +250,7 @@ void surf_network_model_init_Vegas(void) void NetworkCm02Model::initialize() { - ActionLmmPtr comm; + ActionLmm comm; char *optim = xbt_cfg_get_string(_sg_cfg_set, "network/optim"); int select = @@ -282,7 +282,7 @@ void NetworkCm02Model::initialize() if (p_updateMechanism == UM_LAZY) { p_actionHeap = xbt_heap_new(8, NULL); xbt_heap_set_update_callback(p_actionHeap, surf_action_lmm_update_index_heap); - p_modifiedSet = xbt_swag_new(xbt_swag_offset(*comm, p_actionListHookup)); + p_modifiedSet = xbt_swag_new(xbt_swag_offset(comm, p_actionListHookup)); p_maxminSystem->keep_track = p_modifiedSet; } }