X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4d0b9e814c4a70a167bfcb16197fbcc9a1f49305..15822682005a67cef0250f877746f1d37fe412d4:/src/kernel/routing/AsImpl.cpp diff --git a/src/kernel/routing/AsImpl.cpp b/src/kernel/routing/AsImpl.cpp index 2f50e554f5..42d269cb91 100644 --- a/src/kernel/routing/AsImpl.cpp +++ b/src/kernel/routing/AsImpl.cpp @@ -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; }