Skip to content

Commit 7e02aa3

Browse files
jwakelyzygoloid
authored andcommitted
[is.sorted] Add missing "return" and semi-colon
This was lost when changing "Returns:" to "Effects:" for P0896R4. The paper included this change, but it was lost when applying it.
1 parent a374c4f commit 7e02aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/algorithms.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6200,7 +6200,7 @@
62006200
\effects
62016201
Equivalent to:
62026202
\begin{codeblock}
6203-
is_sorted_until(std::forward<ExecutionPolicy>(exec), first, last, comp) == last
6203+
return is_sorted_until(std::forward<ExecutionPolicy>(exec), first, last, comp) == last;
62046204
\end{codeblock}
62056205
\end{itemdescr}
62066206

0 commit comments

Comments
 (0)