Switch lambda syntax over to [](){} format, to line up with C++11.

This commit is contained in:
Jonathan Turner
2011-09-24 13:31:24 -06:00
parent 784ca41270
commit 3765c23598
15 changed files with 23 additions and 19 deletions

View File

@@ -1,2 +1,2 @@
assert_throws("Mismatched types in equation, lhs is const.", fun() { 1 = 2 } );
assert_throws("Mismatched types in equation, lhs is const.", fun() { 1 + 2 = 2 } );
assert_throws("Mismatched types in equation, lhs is const.", []() { 1 = 2 } );
assert_throws("Mismatched types in equation, lhs is const.", []() { 1 + 2 = 2 } );