Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove (void) in C++
[simgrid.git] / src / smpi / smpi_deployment.cpp
index 2dcf26e..791b8da 100644 (file)
@@ -4,10 +4,10 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include "private.h"
 #include "simgrid/msg.h" /* barrier */
+#include "src/smpi/private.h"
+#include "src/smpi/smpi_comm.hpp"
 #include "src/smpi/SmpiHost.hpp"
-#include "xbt/log.h"
 
 namespace simgrid {
 namespace smpi {
@@ -58,7 +58,7 @@ void SMPI_app_instance_register(const char *name, xbt_main_func_t code, int num_
   SIMIX_function_register(name, code);
 
   static int already_called = 0;
-  if (!already_called) {
+  if (not already_called) {
     already_called = 1;
     for (auto& item : simgrid::s4u::host_list) {
       simgrid::s4u::Host* host = item.second;