From 867b1f692b7c35c90dd09cbe3e27330c8ae05394 Mon Sep 17 00:00:00 2001 From: Bryce Adelstein Lelbach aka wash Date: Sat, 18 Nov 2023 12:27:29 -0500 Subject: [PATCH] Fix indentation in [algorithms.parallel.defns] paragraph 5 example --- source/algorithms.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/algorithms.tex b/source/algorithms.tex index ffe860726a..ecb7f96a8c 100644 --- a/source/algorithms.tex +++ b/source/algorithms.tex @@ -348,7 +348,7 @@ int a[] = {1,2}; std::for_each(std::execution::par_unseq, std::begin(a), std::end(a), [&](int) { std::lock_guard guard(m); // incorrect: \tcode{lock_guard} constructor calls \tcode{m.lock()} - ++x; + ++x; }); } \end{codeblock}