Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
AS->Zone + stringification
[simgrid.git] / src / kernel / routing / EmptyZone.cpp
index 50b9ac3..3ef2736 100644 (file)
@@ -15,17 +15,16 @@ namespace simgrid {
 namespace kernel {
 namespace routing {
 
-AsNone::AsNone(As* father, const char* name) : AsImpl(father, name)
-{}
-
-AsNone::~AsNone() = default;
+EmptyZone::EmptyZone(NetZone* father, std::string name) : NetZoneImpl(father, name)
+{
+}
 
-void AsNone::getLocalRoute(NetCard* /*src*/, NetCard* /*dst*/, sg_platf_route_cbarg_t /*res*/, double* /*lat*/)
-{}
+EmptyZone::~EmptyZone() = default;
 
-void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*edges*/)
+void EmptyZone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*edges*/)
 {
   XBT_ERROR("No routing no graph");
 }
-
-}}}
+}
+}
+}