From 497fcecf83e73cfa6791a2d817a5c5a3653b4a7a Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Sat, 28 Dec 2019 00:33:59 +0100 Subject: [PATCH] [thread.condvarany.intwait] Fix invocation of wait_until. P1869R1 Rename condition_variable_any interruptible wait methods reordered the parameters of the wait_until function, but neglected to adjust the 'Equivalent to' code for wait_for. --- source/threads.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/threads.tex b/source/threads.tex index 7e05db153d..efd71631f3 100644 --- a/source/threads.tex +++ b/source/threads.tex @@ -5097,8 +5097,8 @@ \effects Equivalent to: \begin{codeblock} -return wait_until(lock, chrono::steady_clock::now() + rel_time, std::move(pred), - std::move(stoken)); +return wait_until(lock, std::move(stoken), chrono::steady_clock::now() + rel_time, + std::move(pred)); \end{codeblock} \end{itemdescr}