X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fcb0af8b6fab2d05361157b04ce25541790b91eb..55491279cdea3f01da22d1b51874e2e168ac5116:/src/s4u/s4u_Io.cpp diff --git a/src/s4u/s4u_Io.cpp b/src/s4u/s4u_Io.cpp index 73149eb614..be9a3ad1bf 100644 --- a/src/s4u/s4u_Io.cpp +++ b/src/s4u/s4u_Io.cpp @@ -96,10 +96,9 @@ double Io::get_remaining() [this]() { return boost::static_pointer_cast(pimpl_)->get_remaining(); }); } -sg_size_t Io::get_performed_ioops() +sg_size_t Io::get_performed_ioops() const { - return kernel::actor::simcall( - [this]() { return boost::static_pointer_cast(pimpl_)->get_performed_ioops(); }); + return boost::static_pointer_cast(pimpl_)->get_performed_ioops(); } } // namespace s4u