mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove unused parameter in two lambdas.
This commit is contained in:
committed by
Vinnie Falco
parent
676293ec42
commit
7aa5599cc2
@@ -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 ()));
|
||||||
|
|||||||
Reference in New Issue
Block a user