Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar by moving includes at the top
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 24 Feb 2017 08:42:01 +0000 (09:42 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 24 Feb 2017 10:44:56 +0000 (11:44 +0100)
src/simgrid/host.cpp

index 2a364a7..3bc21b1 100644 (file)
@@ -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);