Remove unused parameter in two lambdas.

This commit is contained in:
Tom Ritchford
2015-01-16 13:13:43 -05:00
committed by Vinnie Falco
parent 676293ec42
commit 7aa5599cc2

View File

@@ -167,7 +167,7 @@ void fillJson (Object& json, LedgerFill const& fill)
if (bFull || bExpand) if (bFull || bExpand)
{ {
ledger.visitStateItems ( ledger.visitStateItems (
[&array, &count, &fill] (SLE::ref sle) [&array, &count] (SLE::ref sle)
{ {
count.yield(); count.yield();
array.append (sle->getJson(0)); array.append (sle->getJson(0));
@@ -176,7 +176,7 @@ void fillJson (Object& json, LedgerFill const& fill)
else else
{ {
accountStateMap->visitLeaves( accountStateMap->visitLeaves(
[&array, &count, &fill] (SHAMapItem::ref smi) [&array, &count] (SHAMapItem::ref smi)
{ {
count.yield(); count.yield();
array.append (to_string(smi->getTag ())); array.append (to_string(smi->getTag ()));