From: Martin Quinson Date: Fri, 24 Feb 2017 08:42:01 +0000 (+0100) Subject: please sonar by moving includes at the top X-Git-Tag: v3_15~294 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/20c31352905d3bd7d3c334708424d3e356a0dd26 please sonar by moving includes at the top --- diff --git a/src/simgrid/host.cpp b/src/simgrid/host.cpp index 2a364a7a9a..3bc21b18c7 100644 --- a/src/simgrid/host.cpp +++ b/src/simgrid/host.cpp @@ -14,6 +14,7 @@ #include "src/kernel/routing/NetPoint.hpp" #include "src/simix/smx_host_private.h" #include "src/surf/HostImpl.hpp" +#include "src/surf/cpu_interface.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(sg_host, sd, "Logging specific to sg_hosts"); @@ -103,8 +104,6 @@ xbt_dynar_t sg_hosts_as_dynar() // ========= Layering madness ==============* -#include "src/surf/cpu_interface.hpp" - // ========== User data Layer ========== void *sg_host_user(sg_host_t host) { return host->extension(USER_HOST_LEVEL);