Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 26 Aug 2016 18:51:32 +0000 (20:51 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 26 Aug 2016 18:51:32 +0000 (20:51 +0200)
include/simgrid/simix.hpp
src/simix/smx_global.cpp

index 9b48240..0da87db 100644 (file)
@@ -91,7 +91,7 @@ XBT_PUBLIC(void) registerFunction(const char* name, ActorCodeFactory factory);
  *
  * If these functions manage to unlock some of the processes, then the deadlock will be avoided.
  */
-extern simgrid::xbt::signal<void(void)> onDeadlock;
+extern simgrid::xbt::signal<void()> onDeadlock;
 }
 }
 
index 9d33439..3b9bcdb 100644 (file)
@@ -165,7 +165,7 @@ static std::function<void()> maestro_code;
 namespace simgrid {
 namespace simix {
 
-simgrid::xbt::signal<void(void)> onDeadlock;
+simgrid::xbt::signal<void()> onDeadlock;
 
 XBT_PUBLIC(void) set_maestro(std::function<void()> code)
 {