]> granicus.if.org Git - clang/commitdiff
Unbreak the Visual C++ 2013 build after r241032.
authorYaron Keren <yaron.keren@gmail.com>
Tue, 30 Jun 2015 07:35:19 +0000 (07:35 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Tue, 30 Jun 2015 07:35:19 +0000 (07:35 +0000)
clang\lib\Parse\ParseDeclCXX.cpp(2396): error C3486: a parameter for a lambda cannot have a default argument

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241046 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseDeclCXX.cpp

index 137e6abc6b4cbb34700d4fa5083082b161ae2e4b..42374f6e45dde30fbabc25028443f843d270e82a 100644 (file)
@@ -2374,7 +2374,7 @@ void Parser::ParseCXXClassMemberDeclaration(AccessSpecifier AS,
   SourceLocation EqualLoc;
   SourceLocation PureSpecLoc;
 
-  auto TryConsumePureSpecifier = [&] (bool AllowDefinition = false) {
+  auto TryConsumePureSpecifier = [&] (bool AllowDefinition) {
     if (Tok.isNot(tok::equal))
       return false;