Skip to content

Commit 35641b4

Browse files
jensmaurerzygoloid
authored andcommitted
[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.
1 parent 48bbe02 commit 35641b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/threads.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5097,8 +5097,8 @@
50975097
\effects
50985098
Equivalent to:
50995099
\begin{codeblock}
5100-
return wait_until(lock, chrono::steady_clock::now() + rel_time, std::move(pred),
5101-
std::move(stoken));
5100+
return wait_until(lock, std::move(stoken), chrono::steady_clock::now() + rel_time,
5101+
std::move(pred));
51025102
\end{codeblock}
51035103
\end{itemdescr}
51045104

0 commit comments

Comments
 (0)