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

@@ -15,8 +15,7 @@
#include <random>
#include <vector>
namespace xrpl {
namespace test {
namespace xrpl::test {
class ScaleFreeSim_test : public beast::unit_test::suite
{
@@ -68,7 +67,7 @@ class ScaleFreeSim_test : public beast::unit_test::suite
// Run for 10 minutes, submitting 100 tx/second
std::chrono::nanoseconds const simDuration = 10min;
std::chrono::nanoseconds const quiet = 10s;
Rate const rate{100, 1000ms};
Rate const rate{.count = 100, .duration = 1000ms};
// txs, start/stop/step, target
auto peerSelector = makeSelector(network.begin(), network.end(), ranks, sim.rng);
@@ -108,5 +107,4 @@ class ScaleFreeSim_test : public beast::unit_test::suite
BEAST_DEFINE_TESTSUITE_MANUAL_PRIO(ScaleFreeSim, consensus, xrpl, 80);
} // namespace test
} // namespace xrpl
} // namespace xrpl::test