Skip to content

Commit

Permalink
Merge pull request #1449 from Cauterite/patch-1
Browse files Browse the repository at this point in the history
[trivial] parentheses were on the wrong side of the lambda
  • Loading branch information
dnadlinger committed Aug 28, 2016
2 parents 2e49dbe + 0bda7c9 commit 21cb773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deprecate.dd
Expand Up @@ -86,7 +86,7 @@ $(H4 Corrective Action)
auto result = bar();

// or use lambdas
auto result = (){ foo(); return bar();};
auto result = {foo(); return bar();}();
---
)
$(H4 Rationale)
Expand Down

0 comments on commit 21cb773

Please sign in to comment.