chore: Enable clang-tidy modernize checks (#6975)

Co-authored-by: Bart <11445373+bthomee@users.noreply.github.com>
Co-authored-by: Bart <bthomee@users.noreply.github.com>
This commit is contained in:
Alex Kremer
2026-04-21 16:32:51 +01:00
committed by GitHub
parent ab887f5049
commit ce3951bbb3
699 changed files with 4626 additions and 5292 deletions

View File

@@ -56,8 +56,7 @@
#include <tuple>
#include <utility>
namespace xrpl {
namespace test {
namespace xrpl::test {
//------------------------------------------------------------------------------
@@ -156,16 +155,16 @@ public:
Resource::Consumer c;
RPC::JsonContext context{
{env.journal,
app,
loadType,
app.getOPs(),
app.getLedgerMaster(),
c,
Role::USER,
{},
{},
RPC::apiVersionIfUnspecified},
{.j = env.journal,
.app = app,
.loadType = loadType,
.netOps = app.getOPs(),
.ledgerMaster = app.getLedgerMaster(),
.consumer = c,
.role = Role::USER,
.coro = {},
.infoSub = {},
.apiVersion = RPC::apiVersionIfUnspecified},
{},
{}};
@@ -267,16 +266,16 @@ public:
Resource::Consumer c;
RPC::JsonContext context{
{env.journal,
app,
loadType,
app.getOPs(),
app.getLedgerMaster(),
c,
Role::USER,
{},
{},
RPC::apiVersionIfUnspecified},
{.j = env.journal,
.app = app,
.loadType = loadType,
.netOps = app.getOPs(),
.ledgerMaster = app.getLedgerMaster(),
.consumer = c,
.role = Role::USER,
.coro = {},
.infoSub = {},
.apiVersion = RPC::apiVersionIfUnspecified},
{},
{}};
Json::Value result;
@@ -1913,5 +1912,4 @@ public:
BEAST_DEFINE_TESTSUITE(Path, app, xrpl);
} // namespace test
} // namespace xrpl
} // namespace xrpl::test