mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix shadowing variables
This commit is contained in:
@@ -299,9 +299,9 @@ public:
|
||||
env.app().getJobQueue().rendezvous();
|
||||
|
||||
BEAST_EXPECT(wsc->findMsg(5s,
|
||||
[&](auto const& jv)
|
||||
[&](auto const& jval)
|
||||
{
|
||||
return jv[jss::type] == "ledgerClosed";
|
||||
return jval[jss::type] == "ledgerClosed";
|
||||
}));
|
||||
}
|
||||
|
||||
@@ -356,9 +356,9 @@ public:
|
||||
env.app().getJobQueue().rendezvous();
|
||||
|
||||
BEAST_EXPECT(wsc->findMsg(5s,
|
||||
[&](auto const& jv)
|
||||
[&](auto const& jval)
|
||||
{
|
||||
return jv[jss::type] == "ledgerClosed";
|
||||
return jval[jss::type] == "ledgerClosed";
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user