Skip to content

Commit 195d5ba

Browse files
jensmaurertkoeppe
authored andcommitted
[thread.jthread.static] Repeat '[[nodiscard]]' from synopsis. (#3326)
Fixes NB JP 362 (C++20 CD)
1 parent 136312c commit 195d5ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/threads.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,7 @@
18461846

18471847
\indexlibrarymember{hardware_concurrency}{jthread}%
18481848
\begin{itemdecl}
1849-
unsigned hardware_concurrency() noexcept;
1849+
[[nodiscard]] static unsigned int hardware_concurrency() noexcept;
18501850
\end{itemdecl}
18511851

18521852
\begin{itemdescr}

0 commit comments

Comments
 (0)