X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d19d875fd0b7da4e10227ee00bc2035b68f60f47..0983afc2177fdd196cd4a9d0945d842dc5351abd:/include/simgrid/s4u/actor.hpp diff --git a/include/simgrid/s4u/actor.hpp b/include/simgrid/s4u/actor.hpp index 6b9c5245f0..bcfff139e3 100644 --- a/include/simgrid/s4u/actor.hpp +++ b/include/simgrid/s4u/actor.hpp @@ -41,13 +41,14 @@ class Mailbox; */ class Actor { friend Comm; + Actor(smx_process_t smx_proc); public: Actor(const char*name, s4u::Host *host, int argc, char **argv); Actor(const char*name, s4u::Host *host, int argc, char **argv, double killTime); virtual ~Actor() {} /** The main method of your agent */ - virtual int main(int argc, char **argv)=0; + int main(int argc, char **argv) {return 0;} /** The Actor that is currently running */ static Actor *current();