]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/activity/CommImpl.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MailboxPtr looks like a smart pointer, but it's not. Kill it.
[simgrid.git] / src / kernel / activity / CommImpl.hpp
index f64dc44f33f9343eedbf77a46fa8773eae373715..22710cfb9724f94d6582a2589c98ea1f7803fa4e 100644 (file)
@@ -7,7 +7,7 @@
 #define SIMGRID_KERNEL_ACTIVITY_COMM_HPP
 
 #include "src/kernel/activity/ActivityImpl.hpp"
-#include "src/simix/ActorImpl.hpp"
+#include "src/kernel/actor/ActorImpl.hpp"
 #include "surf/surf.hpp"
 
 
@@ -47,7 +47,7 @@ public:
       nullptr; /* Filter function used by the other side. It is used when
 looking if a given communication matches my needs. For that, myself must match the
 expectations of the other side, too. See  */
-  void (*copy_data_fun)(smx_activity_t, void*, size_t) = nullptr;
+  void (*copy_data_fun)(simgrid::kernel::activity::CommImpl*, void*, size_t) = nullptr;
 
   /* Surf action data */
   resource::Action* surf_action_ = nullptr; /* The Surf communication action encapsulated */