Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix the build with older g++
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 19 Jan 2017 07:54:50 +0000 (08:54 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 19 Jan 2017 07:54:55 +0000 (08:54 +0100)
Let's not use this Java-like syntax here

src/simix/smx_private.h

index d8fff8b..83f295a 100644 (file)
@@ -22,7 +22,7 @@ public:
   smx_context_factory_t context_factory = nullptr;
   xbt_dynar_t process_to_run = nullptr;
   xbt_dynar_t process_that_ran = nullptr;
-  std::map<int, smx_actor_t> process_list = std::map<int, smx_actor_t>();
+  std::map<int, smx_actor_t> process_list;
 #if HAVE_MC
   /* MCer cannot read the std::map above in the remote process, so we copy the info it needs in a dynar.
    * FIXME: This is supposed to be a temporary hack.