Switch lambda syntax over to [](){} format, to line up with C++11.
This commit is contained in:
@@ -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 } );
|
||||
|
Reference in New Issue
Block a user