Update lambda examples in coding style doc.
This commit is contained in:
parent
724c669434
commit
f679be4101
|
@ -500,7 +500,7 @@ The braces and statements of the body should be indented as you would a method,
|
||||||
with the braces lined up under the capture block:
|
with the braces lined up under the capture block:
|
||||||
|
|
||||||
~~~~~~~~~~~~~{.cpp}
|
~~~~~~~~~~~~~{.cpp}
|
||||||
auto belowCondition = [] ( const SELECTION& aSel )
|
auto belowCondition = []( const SELECTION& aSel )
|
||||||
{
|
{
|
||||||
return g_CurrentSheet->Last() != g_RootSheet;
|
return g_CurrentSheet->Last() != g_RootSheet;
|
||||||
};
|
};
|
||||||
|
@ -510,7 +510,7 @@ or:
|
||||||
|
|
||||||
~~~~~~~~~~~~~{.cpp}
|
~~~~~~~~~~~~~{.cpp}
|
||||||
auto belowCondition =
|
auto belowCondition =
|
||||||
[] ( const SELECTION& aSel )
|
[]( const SELECTION& aSel )
|
||||||
{
|
{
|
||||||
return g_CurrentSheet->Last() != g_RootSheet;
|
return g_CurrentSheet->Last() != g_RootSheet;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue