Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cut some useless includes
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 18 Jul 2018 20:40:44 +0000 (22:40 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 18 Jul 2018 20:40:44 +0000 (22:40 +0200)
src/simix/smx_context.cpp
src/simix/smx_deployment.cpp

index 5dbbfb2..d07d747 100644 (file)
@@ -5,23 +5,12 @@
 /* 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 <xbt/config.hpp>
-#include <xbt/log.h>
-#include <xbt/range.hpp>
-#include <xbt/sysdep.h>
-
 #include "simgrid/modelchecker.h"
-#include "simgrid/sg_config.hpp"
-#include "smx_private.hpp"
 #include "src/internal_config.h"
-#include "xbt/log.h"
-#include "xbt/xbt_os_thread.h"
+#include "src/simix/smx_private.hpp"
+#include "xbt/config.hpp"
 
-#include <cerrno>
-#include <cstring>
-#include <string>
 #include <thread>
-#include <utility>
 
 #ifdef _WIN32
 #include <windows.h>
index aece2e9..e947067 100644 (file)
@@ -3,15 +3,15 @@
 /* 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 <string>
-#include <vector>
-
 #include "simgrid/s4u/Host.hpp"
 #include "smx_private.hpp"
 #include "src/surf/xml/platf_private.hpp" // FIXME: KILLME. There must be a better way than mimicking XML here
 #include <simgrid/engine.h>
 #include <xbt/ex.hpp>
 
+#include <string>
+#include <vector>
+
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_deployment, simix, "Logging specific to SIMIX (deployment)");
 
 extern int surf_parse_lineno;