Skip to content

Commit 6c5e3b2

Browse files
committed
Use the correct namespace in 2.7.1
Fixes #64
1 parent 3b41d70 commit 6c5e3b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

execution_policies.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ <h1>Dynamic execution policy</h1>
172172
<cxx-example>
173173
<pre>std::vector&lt;float&gt; sort_me = ...
174174

175-
std::execution_policy exec = std::seq;
175+
using namespace std::experimental::parallel;
176+
execution_policy exec = seq;
176177

177178
if(sort_me.size() &gt; threshold)
178179
{

0 commit comments

Comments
 (0)