X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3d2bffb7542628af525b2507d2a5035ead215ff2..82e2aa78964d9150810411ce80fa62ab3aa4aaa9:/src/kernel/context/ContextRaw.hpp diff --git a/src/kernel/context/ContextRaw.hpp b/src/kernel/context/ContextRaw.hpp index 2810c17948..7d562966cf 100644 --- a/src/kernel/context/ContextRaw.hpp +++ b/src/kernel/context/ContextRaw.hpp @@ -26,7 +26,7 @@ namespace context { */ class RawContext : public SwappedContext { public: - RawContext(std::function code, smx_actor_t actor, SwappedContextFactory* factory); + RawContext(std::function&& code, actor::ActorImpl* actor, SwappedContextFactory* factory); void swap_into(SwappedContext* to) override; @@ -39,8 +39,10 @@ private: class RawContextFactory : public SwappedContextFactory { public: - Context* create_context(std::function code, smx_actor_t actor) override; + RawContext* create_context(std::function&& code, actor::ActorImpl* actor) override; }; -}}} // namespace +} // namespace context +} // namespace kernel +} // namespace simgrid #endif