]> AND Public Git Repository - simgrid.git/blobdiff - examples/s4u/app-bittorrent/s4u-tracker.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add an example of speed profile in the platform
[simgrid.git] / examples / s4u / app-bittorrent / s4u-tracker.cpp
index 0c146226a3d4d176c852dcbaaaa44e468fbd3af5..4e41ae85da47e9aa506d37cd5b415624bc5dadba 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2018. The SimGrid Team.
+/* Copyright (c) 2012-2019. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -24,7 +24,7 @@ Tracker::Tracker(std::vector<std::string> args)
 
   stream = simgrid::s4u::this_actor::get_host()->extension<HostBittorrent>()->getStream();
 
-  mailbox = simgrid::s4u::Mailbox::byName(TRACKER_MAILBOX);
+  mailbox = simgrid::s4u::Mailbox::by_name(TRACKER_MAILBOX);
 
   XBT_INFO("Tracker launched.");
 }