X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/19b3962253112b19308537bc2400de141c119d99..e195a28b546de45d49c8ab08f18da1da136a2454:/src/smpi/smpi_deployment.cpp diff --git a/src/smpi/smpi_deployment.cpp b/src/smpi/smpi_deployment.cpp index 2dcf26e51e..791b8da39b 100644 --- a/src/smpi/smpi_deployment.cpp +++ b/src/smpi/smpi_deployment.cpp @@ -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;