Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
I don't understand how it could have worked at any point
[simgrid.git] / include / simgrid / s4u / actor.hpp
index b342262..b8463e6 100644 (file)
@@ -48,7 +48,7 @@ public:
        virtual ~Actor() {}
 
        /** The main method of your agent */
        virtual ~Actor() {}
 
        /** The main method of your agent */
-       int main(int argc, char **argv) {return 0;}
+       virtual int main(int argc, char **argv);
 
        /** The Actor that is currently running */
        static Actor *current();
 
        /** The Actor that is currently running */
        static Actor *current();