Skip to content

Commit cc6d208

Browse files
committed
It's not a real itemdecl, better use codeblock
Signed-off-by: Matthias Kretz <[email protected]>
1 parent b7c0d72 commit cc6d208

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/executionpolicies.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626

2727
\rSec1[parallel.execpol.unseq]{Unsequenced execution policy}
2828

29-
\begin{itemdecl}
30-
class unsequenced_policy{ @\unspec@ };
31-
\end{itemdecl}
29+
\begin{codeblock}
30+
class unsequenced_policy { @\unspec@ };
31+
\end{codeblock}
3232

3333
\pnum
3434
The class \tcode{unsequenced_policy} is an execution policy type used as
@@ -54,9 +54,9 @@
5454

5555
\rSec1[parallel.execpol.vec]{Vector execution policy}
5656

57-
\begin{itemdecl}
58-
class vector_policy{ @\unspec@ };
59-
\end{itemdecl}
57+
\begin{codeblock}
58+
class vector_policy { @\unspec@ };
59+
\end{codeblock}
6060

6161
\pnum
6262
The class \tcode{vector_policy} is an execution policy type used as a
@@ -86,10 +86,10 @@
8686

8787
\rSec1[parallel.execpol.objects]{Execution policy objects}
8888

89-
\begin{itemdecl}
89+
\begin{codeblock}
9090
inline constexpr execution::unsequenced_policy unseq{ @\unspec@ };
9191
inline constexpr execution::vector_policy vec{ @\unspec@ };
92-
\end{itemdecl}
92+
\end{codeblock}
9393

9494
\pnum
9595
The header \tcode{<experimental/execution>} declares a global object

0 commit comments

Comments
 (0)