Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[surf] Move some code in a simgrid::surf namespace
[simgrid.git] / src / surf / surf_routing_none.cpp
index 4652b56..1906047 100644 (file)
@@ -10,9 +10,12 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf");
 
 AS_t model_none_create(void)
 {
-  return new AsNone();
+  return new simgrid::surf::AsNone();
 }
 
+namespace simgrid {
+namespace surf {
+
 xbt_dynar_t AsNone::getOneLinkRoutes() {
   return NULL;
 }
@@ -70,3 +73,5 @@ AsNone::~AsNone() {
   xbt_dynar_free(&p_linkUpDownList);
 }
 
+}
+}