diff options
Diffstat (limited to 'gcc/cp/lambda.c')
-rw-r--r-- | gcc/cp/lambda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/lambda.c b/gcc/cp/lambda.c index c94fe8e..364a3e9 100644 --- a/gcc/cp/lambda.c +++ b/gcc/cp/lambda.c @@ -135,7 +135,7 @@ begin_lambda_type (tree lambda) /* Create the new RECORD_TYPE for this lambda. */ tree type = xref_tag (/*tag_code=*/record_type, name, - /*scope=*/ts_lambda, /*template_header_p=*/false); + /*scope=*/ts_current, /*template_header_p=*/false); if (type == error_mark_node) return error_mark_node; |