semantics.c (lambda_expr_this_capture): Fix default capture of explicit capture of...
authorJason Merrill <jason@gcc.gnu.org>
Wed, 30 Sep 2009 17:55:54 +0000 (13:55 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 30 Sep 2009 17:55:54 +0000 (13:55 -0400)
* semantics.c (lambda_expr_this_capture): Fix default capture
of explicit capture of 'this'.

From-SVN: r152340

gcc/cp/ChangeLog

index f617fb1..7032cf3 100644 (file)
@@ -5,6 +5,11 @@
 
 2009-09-30  Jason Merrill  <jason@redhat.com>
 
+       * semantics.c (lambda_expr_this_capture): Fix default capture
+       of explicit capture of 'this'.
+
+2009-09-30  Jason Merrill  <jason@redhat.com>
+
        * parser.c (cp_parser_lambda_expression): Don't add __ to __this.
 
 2009-09-30  Jason Merrill  <jason@redhat.com>