Skip to content

Commit db44c38

Browse files
authored
[ub:intro.races.data] Add comma (#9268)
1 parent 965b29a commit db44c38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎source/ub.tex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@
472472
int count = 0;
473473
auto f = [&] { count++; };
474474
std::thread t1{f}, t2{f}, t3{f};
475-
// undefined behavior \tcode{t1}, \tcode{t2} and \tcode{t3} have a data race on access of variable \tcode{count}
475+
// undefined behavior, \tcode{t1}, \tcode{t2} and \tcode{t3} have a data race on access of variable \tcode{count}
476476
\end{codeblock}
477477
\end{example}
478478

0 commit comments

Comments
 (0)