diff options
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 5c379aa..ebeffdb 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -10976,7 +10976,7 @@ cp_parser_lambda_declarator_opt (cp_parser* parser, tree lambda_expr) DECL_ARTIFICIAL (fco) = 1; /* Give the object parameter a different name. */ DECL_NAME (DECL_ARGUMENTS (fco)) = closure_identifier; - DECL_LAMBDA_FUNCTION (fco) = 1; + DECL_SET_LAMBDA_FUNCTION (fco, true); } if (template_param_list) { |