mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 01:06:48 +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:
@@ -62,9 +62,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
namespace xrpl {
|
||||
|
||||
namespace test {
|
||||
namespace xrpl::test {
|
||||
|
||||
enum class FieldType {
|
||||
AccountField,
|
||||
@@ -2928,12 +2926,12 @@ class LedgerEntry_XChain_test : public beast::unit_test::suite,
|
||||
a[i].isMember(jss::Destination) && a[i][jss::Destination] == scCarol.human());
|
||||
BEAST_EXPECT(
|
||||
a[i].isMember(sfAttestationSignerAccount.jsonName) &&
|
||||
std::any_of(signers.begin(), signers.end(), [&](signer const& s) {
|
||||
std::ranges::any_of(signers, [&](signer const& s) {
|
||||
return a[i][sfAttestationSignerAccount.jsonName] == s.account.human();
|
||||
}));
|
||||
BEAST_EXPECT(
|
||||
a[i].isMember(sfAttestationRewardAccount.jsonName) &&
|
||||
std::any_of(payee.begin(), payee.end(), [&](Account const& account) {
|
||||
std::ranges::any_of(payee, [&](Account const& account) {
|
||||
return a[i][sfAttestationRewardAccount.jsonName] == account.human();
|
||||
}));
|
||||
BEAST_EXPECT(
|
||||
@@ -2977,5 +2975,4 @@ public:
|
||||
BEAST_DEFINE_TESTSUITE(LedgerEntry, rpc, xrpl);
|
||||
BEAST_DEFINE_TESTSUITE(LedgerEntry_XChain, rpc, xrpl);
|
||||
|
||||
} // namespace test
|
||||
} // namespace xrpl
|
||||
} // namespace xrpl::test
|
||||
|
||||
Reference in New Issue
Block a user