X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4a4d0d50d8a6fbd0b50172905f7ad5cf5ed0f9a0..085f3f5d8c17c1d3e0d069e64ee7c0de00ccf7e6:/src/s4u/s4u_Io.cpp diff --git a/src/s4u/s4u_Io.cpp b/src/s4u/s4u_Io.cpp index a99680ae49..ddfaa6127b 100644 --- a/src/s4u/s4u_Io.cpp +++ b/src/s4u/s4u_Io.cpp @@ -80,7 +80,7 @@ bool Io::test() if (state_ == State::INITED || state_ == State::STARTING) this->vetoable_start(); - if (simcall_io_test(get_impl())) { + if (kernel::actor::simcall([this] { return this->get_impl()->test(); })) { state_ = State::FINISHED; this->release_dependencies(); return true;