Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "We never use the name of the mailbox"
[simgrid.git] / src / simix / smx_io.cpp
index 046ff2f..96224c6 100644 (file)
@@ -326,11 +326,11 @@ void SIMIX_post_io(smx_synchro_t synchro)
 
   switch (synchro->io.surf_io->getState()) {
 
-    case SURF_ACTION_FAILED:
+    case simgrid::surf::Action::State::failed:
       synchro->state = SIMIX_FAILED;
       break;
 
-    case SURF_ACTION_DONE:
+    case simgrid::surf::Action::State::done:
       synchro->state = SIMIX_DONE;
       break;