Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
small comments improvements around a complex code
[simgrid.git] / src / mc / Transition.hpp
index b15c6fd..39f8a83 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2016. The SimGrid Team.
+/* Copyright (c) 2015-2019. The SimGrid Team.
  * 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.
  */
-struct Transition {
-  int pid = 0;
+class Transition {
+public:
+  int pid_ = 0;
 
   /* Which transition was executed for this simcall
    *
@@ -29,7 +30,7 @@ struct Transition {
    *
    * * random can produce different values.
    */
-  int argument = 0;
+  int argument_ = 0;
 };
 
 }