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}