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.hpp
index 7a229bf..b7f7e1b 100644 (file)
@@ -6,8 +6,8 @@
 #ifndef SIMIX_SYNCHRO_IO_HPP
 #define SIMIX_SYNCHRO_IO_HPP
 
-#include "surf/surf.h"
 #include "src/kernel/activity/ActivityImpl.hpp"
+#include "surf/surf.hpp"
 
 namespace simgrid {
 namespace kernel {
@@ -20,8 +20,7 @@ public:
   void resume() override;
   void post() override;
 
-  sg_host_t host        = nullptr;
-  surf_action_t surf_io = nullptr;
+  simgrid::kernel::resource::Action* surf_io = nullptr;
   };
 
 }}} // namespace simgrid::kernel::activity