Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanup in the Link field names
[simgrid.git] / src / kernel / routing / AsImpl.cpp
index 2f50e554f540797f8cd6f851100a2080b49fab39..42d269cb91b3ab40cb5d9020a080ad2fdac4460d 100644 (file)
@@ -190,7 +190,7 @@ namespace simgrid {
         for (surf::Link *link : *bypassed_route) {
           links->push_back(link);
           if (latency)
-            *latency += link->getLatency();
+            *latency += link->latency();
         }
         return;
       }