X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a1f5257f643d4dac6fc26c4993cc11170000a548..206daeb1d282a6ec007938eb8755aed5f0ab91b4:/src/s4u/s4u_Io.cpp diff --git a/src/s4u/s4u_Io.cpp b/src/s4u/s4u_Io.cpp index 71326434ad..906b0bee2d 100644 --- a/src/s4u/s4u_Io.cpp +++ b/src/s4u/s4u_Io.cpp @@ -75,7 +75,7 @@ IoPtr Io::set_size(sg_size_t size) xbt_assert(state_ == State::INITED || state_ == State::STARTING, "Cannot set size once the Io is started"); kernel::actor::simcall_answered( [this, size] { boost::static_pointer_cast(pimpl_)->set_size(size); }); - Activity::set_remaining(size); + set_remaining(size); return this; }