Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
further snake_case s4u::Engine
[simgrid.git] / examples / s4u / app-bittorrent / s4u-tracker.cpp
index 9f0a73c..0c14622 100644 (file)
@@ -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()) {