X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/342ed24c321474f6307d6bc5d7c57d285c15c91a..26cc914ea54fae16e353aa561b46fa6fa26d2ebc:/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..4a465bb364 100644 --- a/examples/s4u/dht-chord/s4u-dht-chord.cpp +++ b/examples/s4u/dht-chord/s4u-dht-chord.cpp @@ -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");