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
cosmetics in the wanna be MC's simcall observer
[simgrid.git]
/
src
/
mc
/
Transition.hpp
diff --git
a/src/mc/Transition.hpp
b/src/mc/Transition.hpp
index
b15c6fd
..
a0a2813
100644
(file)
--- a/
src/mc/Transition.hpp
+++ b/
src/mc/Transition.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2015-201
6
. The SimGrid Team.
+/* Copyright (c) 2015-201
9
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-18,8
+18,9
@@
namespace mc {
* in things like waitany and for associating a given value of MC_random()
* calls.
*/
* in things like waitany and for associating a given value of MC_random()
* calls.
*/
-struct Transition {
- int pid = 0;
+class Transition {
+public:
+ int pid_ = 0;
/* Which transition was executed for this simcall
*
/* Which transition was executed for this simcall
*
@@
-29,10
+30,10
@@
struct Transition {
*
* * random can produce different values.
*/
*
* * random can produce different values.
*/
- int argument = 0;
+ int argument
_
= 0;
};
};
-}
-}
+}
// namespace mc
+}
// namespace simgrid
#endif
#endif