X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cc60901ad15bda7d7a1cc716bf5e04d927d630fc..33bd148331a48a87a0d266822a2fd190ba9616b3:/src/smpi/smpi_deployment.cpp diff --git a/src/smpi/smpi_deployment.cpp b/src/smpi/smpi_deployment.cpp index 898813267b..791b8da39b 100644 --- a/src/smpi/smpi_deployment.cpp +++ b/src/smpi/smpi_deployment.cpp @@ -4,11 +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 "simgrid/s4u.hpp" +#include "src/smpi/private.h" +#include "src/smpi/smpi_comm.hpp" #include "src/smpi/SmpiHost.hpp" -#include "xbt/log.h" namespace simgrid { namespace smpi { @@ -59,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;