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

@@ -44,8 +44,7 @@
#include <tuple>
#include <vector>
namespace xrpl {
namespace test {
namespace xrpl::test {
struct Directory_test : public beast::unit_test::suite
{
@@ -134,7 +133,7 @@ struct Directory_test : public beast::unit_test::suite
// Ensure that the entries in the page are sorted
auto const& v = p->getFieldV256(sfIndexes);
BEAST_EXPECT(std::is_sorted(v.begin(), v.end()));
BEAST_EXPECT(std::ranges::is_sorted(v));
// Ensure that the page contains the correct orders by
// calculating which sequence numbers belong here.
@@ -600,5 +599,4 @@ struct Directory_test : public beast::unit_test::suite
BEAST_DEFINE_TESTSUITE_PRIO(Directory, ledger, xrpl, 1);
} // namespace test
} // namespace xrpl
} // namespace xrpl::test