A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I don't understand how it could have worked at any point
[simgrid.git]
/
include
/
simgrid
/
s4u
/
actor.hpp
diff --git
a/include/simgrid/s4u/actor.hpp
b/include/simgrid/s4u/actor.hpp
index
b342262
..
b8463e6
100644
(file)
--- a/
include/simgrid/s4u/actor.hpp
+++ b/
include/simgrid/s4u/actor.hpp
@@
-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();