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

* semantics.c (lambda_expr_this_capture): Fix default capture
of explicit capture of 'this'.

From-SVN: r152339
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nested.C