Skip to content

Commit c8d22d4

Browse files
committed
[expr.prim.lambda.capture] Add missing \keyword
This fixes a misapplication of CWG1249, which requested "mutable" to be code, not text.
1 parent 352e4b1 commit c8d22d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2515,7 +2515,7 @@
25152515
\item If \tcode{m1} captures the entity by copy,
25162516
\tcode{m2} captures the corresponding
25172517
non-static data member of \tcode{m1}'s closure type;
2518-
if \tcode{m1} is not mutable, the non-static data member is considered to be const-qualified.
2518+
if \tcode{m1} is not \keyword{mutable}, the non-static data member is considered to be const-qualified.
25192519
\item If \tcode{m1} captures the entity by reference,
25202520
\tcode{m2} captures the same
25212521
entity captured by \tcode{m1}.

0 commit comments

Comments
 (0)