X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3f38d568f0b8155a643e15a3171177060ee15c3c..5e7d79b763a5f55d1afb579d2b5a8d30ccfe869c:/src/simix/smx_io.cpp diff --git a/src/simix/smx_io.cpp b/src/simix/smx_io.cpp index 1f35bf2e57..b0363e9d38 100644 --- a/src/simix/smx_io.cpp +++ b/src/simix/smx_io.cpp @@ -9,7 +9,6 @@ #include "simgrid/s4u/Host.hpp" #include "simgrid/s4u/Storage.hpp" -#include "src/surf/FileImpl.hpp" #include "src/surf/HostImpl.hpp" #include "src/surf/StorageImpl.hpp" #include "surf/surf.hpp" @@ -33,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; @@ -50,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;