X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45176f410366aa94795f4e48cc6282b262a4b3dd..0a95c78251f3ecbf1dfcb3ebe7904e44acf1beef:/include/simgrid/s4u/Actor.hpp diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index 2a768f341e..56567c440f 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -180,12 +180,7 @@ public: * * If the actor is restarted, the actor has a fresh copy of the function. */ - static ActorPtr createActor(const char* name, s4u::Host *host, double killTime, std::function code); - - static ActorPtr createActor(const char* name, s4u::Host *host, std::function code) - { - return createActor(name, host, -1.0, std::move(code)); - } + static ActorPtr createActor(const char* name, s4u::Host* host, std::function code); /** Create an actor using code * @@ -205,14 +200,7 @@ public: // Create actor from function name: - static ActorPtr createActor(const char* name, s4u::Host *host, double killTime, - const char* function, std::vector args); - - static ActorPtr createActor(const char* name, s4u::Host *host, const char* function, - std::vector args) - { - return createActor(name, host, -1.0, function, std::move(args)); - } + static ActorPtr createActor(const char* name, s4u::Host* host, const char* function, std::vector args); // ***** Methods *****