X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fbecf54f013a2c4171160f4aad8a4d8377bee1f9..51d099097598a993323850816311d3f78956e6a0:/doc/doxygen/uhood.doc diff --git a/doc/doxygen/uhood.doc b/doc/doxygen/uhood.doc index df2de9bcab..14350bdd0e 100644 --- a/doc/doxygen/uhood.doc +++ b/doc/doxygen/uhood.doc @@ -181,9 +181,7 @@ simgrid::kernel::Future kernel_wait_until(double date) { auto promise = std::make_shared>(); auto future = promise->get_future(); - SIMIX_timer_set(date, [promise] { - promise->set_value(); - }); + simgrid::simix::Timer::set(date, [promise] { promise->set_value(); }); return future; } ~~~