X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8ccebd8729f00d1125f343c9dce5b093f40f8cc7..63ebf4be4ca6a243a64c7ded8df9b96a9d28d3ff:/examples/s4u/app-bittorrent/s4u-tracker.cpp diff --git a/examples/s4u/app-bittorrent/s4u-tracker.cpp b/examples/s4u/app-bittorrent/s4u-tracker.cpp index 9f0a73c08c..0c146226a3 100644 --- a/examples/s4u/app-bittorrent/s4u-tracker.cpp +++ b/examples/s4u/app-bittorrent/s4u-tracker.cpp @@ -33,7 +33,7 @@ void Tracker::operator()() { simgrid::s4u::CommPtr comm = nullptr; void* received = nullptr; - while (simgrid::s4u::Engine::getClock() < deadline) { + while (simgrid::s4u::Engine::get_clock() < deadline) { if (comm == nullptr) comm = mailbox->get_async(&received); if (comm->test()) {