From 7aa5599cc2c5946a07abbe3c6d58036dba9c3e9b Mon Sep 17 00:00:00 2001 From: Tom Ritchford Date: Fri, 16 Jan 2015 13:13:43 -0500 Subject: [PATCH] Remove unused parameter in two lambdas. --- src/ripple/app/ledger/LedgerToJson.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ripple/app/ledger/LedgerToJson.h b/src/ripple/app/ledger/LedgerToJson.h index 3fd30dd5d..553cc3af0 100644 --- a/src/ripple/app/ledger/LedgerToJson.h +++ b/src/ripple/app/ledger/LedgerToJson.h @@ -167,7 +167,7 @@ void fillJson (Object& json, LedgerFill const& fill) if (bFull || bExpand) { ledger.visitStateItems ( - [&array, &count, &fill] (SLE::ref sle) + [&array, &count] (SLE::ref sle) { count.yield(); array.append (sle->getJson(0)); @@ -176,7 +176,7 @@ void fillJson (Object& json, LedgerFill const& fill) else { accountStateMap->visitLeaves( - [&array, &count, &fill] (SHAMapItem::ref smi) + [&array, &count] (SHAMapItem::ref smi) { count.yield(); array.append (to_string(smi->getTag ()));