Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix mess between smx_activity_t and ActivityImplPtr.
[simgrid.git] / src / s4u / s4u_Io.cpp
index be9a3ad..68adbec 100644 (file)
@@ -63,7 +63,7 @@ Io* Io::wait_for(double timeout)
 {
   if (state_ == State::INITED)
     vetoable_start();
-  simcall_io_wait(pimpl_, timeout);
+  simcall_io_wait(get_impl(), timeout);
   state_ = State::FINISHED;
   this->release_dependencies();
   return this;
@@ -80,7 +80,7 @@ bool Io::test()
   if (state_ == State::INITED || state_ == State::STARTING)
     this->vetoable_start();
 
-  if (simcall_io_test(pimpl_)) {
+  if (simcall_io_test(get_impl())) {
     state_ = State::FINISHED;
     this->release_dependencies();
     return true;