X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4278bfdb328a2edb248f0633c3953a10eab03cdd..76f61e396704568a26dfb982cf3deb4db1c8ae83:/include/simgrid/s4u/Actor.hpp diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index d1121ea7c4..6aff62b8f6 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -175,10 +175,10 @@ public: */ static ActorPtr createActor(const char* name, s4u::Host* host, std::function code); - static ActorPtr createActor(const char* name, s4u::Host* host, std::function)> code, - std::vector args) + static ActorPtr createActor(const char* name, s4u::Host* host, std::function*)> code, + std::vector* args) { - return createActor(name, host, [code](std::vector args) { code(args); }, args); + return createActor(name, host, [code](std::vector* args) { code(args); }, args); } /** Create an actor using code