]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/routing/EmptyZone.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove lines of commented code spotted by sonar.
[simgrid.git] / src / kernel / routing / EmptyZone.cpp
index 66729e69a6da33ce20144d673bb1cf12ddddec10..3ef273611c53236fe03ee0951d5f4f75c6b4d120 100644 (file)
@@ -15,16 +15,12 @@ namespace simgrid {
 namespace kernel {
 namespace routing {
 
-EmptyZone::EmptyZone(NetZone* father, const char* name) : NetZoneImpl(father, name)
+EmptyZone::EmptyZone(NetZone* father, std::string name) : NetZoneImpl(father, name)
 {
 }
 
 EmptyZone::~EmptyZone() = default;
 
-void EmptyZone::getLocalRoute(NetCard* /*src*/, NetCard* /*dst*/, sg_platf_route_cbarg_t /*res*/, double* /*lat*/)
-{
-}
-
 void EmptyZone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*edges*/)
 {
   XBT_ERROR("No routing no graph");