Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Avoid (conditionnaly) including C++ headers files in C headers
[simgrid.git] / src / surf / AsNone.cpp
index 4d4dfbf..3683fa3 100644 (file)
@@ -3,15 +3,21 @@
 /* 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/dict.h>
+#include <xbt/graph.h>
+#include <xbt/log.h>
+
 #include "src/surf/AsNone.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf");
 
 namespace simgrid {
 namespace routing {
+
 AsNone::AsNone(const char*name)
   : AsImpl(name)
 {}
+
 AsNone::~AsNone()
 {}
 
@@ -23,5 +29,6 @@ void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*
 {
   XBT_ERROR("No routing no graph");
 }
+
 }
 }