diff --git a/source/ub.tex b/source/ub.tex index 727ad0dae8..8a339c44aa 100644 --- a/source/ub.tex +++ b/source/ub.tex @@ -472,7 +472,7 @@ int count = 0; auto f = [&] { count++; }; std::thread t1{f}, t2{f}, t3{f}; -// undefined behavior \tcode{t1}, \tcode{t2} and \tcode{t3} have a data race on access of variable \tcode{count} +// undefined behavior, \tcode{t1}, \tcode{t2} and \tcode{t3} have a data race on access of variable \tcode{count} \end{codeblock} \end{example}