X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/342ed24c321474f6307d6bc5d7c57d285c15c91a..7d06231bf31deb78e97d5f2408e300c0e4f55af1:/examples/s4u/dht-chord/s4u-dht-chord.cpp diff --git a/examples/s4u/dht-chord/s4u-dht-chord.cpp b/examples/s4u/dht-chord/s4u-dht-chord.cpp index b675aa10ff..0b01f2985c 100644 --- a/examples/s4u/dht-chord/s4u-dht-chord.cpp +++ b/examples/s4u/dht-chord/s4u-dht-chord.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2019. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -43,7 +43,7 @@ int main(int argc, char* argv[]) XBT_DEBUG("Sets nb_keys to %d", nb_keys); HostChord::EXTENSION_ID = simgrid::s4u::Host::extension_create(); - for (auto const& host : simgrid::s4u::Engine::getInstance()->get_all_hosts()) + for (auto const& host : simgrid::s4u::Engine::get_instance()->get_all_hosts()) host->extension_set(new HostChord(host)); e.register_actor("node");