Skip to content

Commit fdce2a7

Browse files
authored
[algorithms.parallel.defns] Fix indentation in example (#6707)
1 parent 5c0103c commit fdce2a7

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
@@ -348,7 +348,7 @@
348348
int a[] = {1,2};
349349
std::for_each(std::execution::par_unseq, std::begin(a), std::end(a), [&](int) {
350350
std::lock_guard<mutex> guard(m); // incorrect: \tcode{lock_guard} constructor calls \tcode{m.lock()}
351-
++x;
351+
++x;
352352
});
353353
}
354354
\end{codeblock}

0 commit comments

Comments
 (0)