Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
also change the namespace of kernel/resource/{Action,Model}
[simgrid.git] / src / kernel / activity / SynchroIo.cpp
index 9001cf9c57f4fe45f28b829772c424992d625a00..5d7c25d1b439dd73744ec72b9eaae7ca5b38107f 100644 (file)
@@ -4,6 +4,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "src/kernel/activity/SynchroIo.hpp"
+#include "src/kernel/resource/Action.hpp"
 #include "src/simix/smx_private.hpp"
 #include "src/surf/surf_interface.hpp"
 
@@ -35,10 +36,10 @@ void simgrid::kernel::activity::IoImpl::post()
   }
 
   switch (surf_io->getState()) {
-    case simgrid::surf::Action::State::failed:
+    case simgrid::kernel::resource::Action::State::failed:
       state = SIMIX_FAILED;
       break;
-    case simgrid::surf::Action::State::done:
+    case simgrid::kernel::resource::Action::State::done:
       state = SIMIX_DONE;
       break;
     default: