mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 10:16:45 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user