Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Avoid unsafe things
[simgrid.git] / src / kernel / context / ContextBoost.hpp
index 7e9414d..6606014 100644 (file)
@@ -15,7 +15,8 @@
 
 
 namespace simgrid {
-namespace simix {
+namespace kernel {
+namespace context {
 
 class BoostContext;
 class BoostSerialContext;
@@ -43,7 +44,7 @@ public:
   friend BoostContextFactory;
   BoostContext(std::function<void()> code,
           void_pfn_smxprocess_t cleanup_func,
-          smx_process_t process);
+          smx_actor_t process);
   ~BoostContext() override;
   virtual void resume();
 private:
@@ -59,11 +60,10 @@ public:
   BoostContextFactory();
   ~BoostContextFactory() override;
   Context* create_context(std::function<void()> code,
-    void_pfn_smxprocess_t, smx_process_t process) override;
+    void_pfn_smxprocess_t, smx_actor_t process) override;
   void run_all() override;
 };
 
-}
-}
+}}} // namespace
 
 #endif