X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6847a26d9973030337f6ef9f18464b1f04ce7452..da63714c96eeb13abee8b59deac8972fe7151856:/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..90dac0a72b 100644 --- a/examples/s4u/app-bittorrent/s4u-tracker.cpp +++ b/examples/s4u/app-bittorrent/s4u-tracker.cpp @@ -24,7 +24,7 @@ Tracker::Tracker(std::vector args) stream = simgrid::s4u::this_actor::get_host()->extension()->getStream(); - mailbox = simgrid::s4u::Mailbox::byName(TRACKER_MAILBOX); + mailbox = simgrid::s4u::Mailbox::by_name(TRACKER_MAILBOX); XBT_INFO("Tracker launched."); } @@ -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()) {