Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
routing: move an empty implementation to the super class
[simgrid.git] / src / surf / surf_routing.cpp
index b484350..fbc8c5c 100644 (file)
@@ -43,6 +43,11 @@ namespace surf {
       delete netcard_;
   }
 
+  sg_platf_route_cbarg_t As::getBypassRoute(NetCard * /*src*/, NetCard * /*dst*/, double * /*lat*/) {
+    return NULL;
+  }
+
+
   int As::addComponent(NetCard *elm) {
     XBT_DEBUG("Load component \"%s\"", elm->getName());
     xbt_dynar_push_as(vertices_, NetCard*, elm);