X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2807fde4fd1f59c230d69a934634c5dfb77905f2..5e7d79b763a5f55d1afb579d2b5a8d30ccfe869c:/src/simix/smx_io.cpp diff --git a/src/simix/smx_io.cpp b/src/simix/smx_io.cpp index 39c13a1913..b0363e9d38 100644 --- a/src/simix/smx_io.cpp +++ b/src/simix/smx_io.cpp @@ -32,7 +32,7 @@ smx_activity_t SIMIX_storage_read(surf_storage_t st, sg_size_t size) simgrid::kernel::activity::IoImpl* synchro = new simgrid::kernel::activity::IoImpl(); synchro->surf_io = st->read(size); - synchro->surf_io->setData(synchro); + synchro->surf_io->set_data(synchro); XBT_DEBUG("Create io synchro %p", synchro); return synchro; @@ -49,7 +49,7 @@ smx_activity_t SIMIX_storage_write(surf_storage_t st, sg_size_t size) { simgrid::kernel::activity::IoImpl* synchro = new simgrid::kernel::activity::IoImpl(); synchro->surf_io = st->write(size); - synchro->surf_io->setData(synchro); + synchro->surf_io->set_data(synchro); XBT_DEBUG("Create io synchro %p", synchro); return synchro;