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

@@ -34,8 +34,7 @@
#include <string>
#include <vector>
namespace xrpl {
namespace test {
namespace xrpl::test {
struct FeeSettingsFields
{
@@ -199,7 +198,7 @@ getTxs(std::shared_ptr<SHAMap> const& txSet)
{
auto const data = i->slice();
auto serialIter = SerialIter(data);
txs.push_back(STTx(serialIter));
txs.emplace_back(serialIter);
}
return txs;
};
@@ -748,5 +747,4 @@ class FeeVote_test : public beast::unit_test::suite
BEAST_DEFINE_TESTSUITE(FeeVote, app, xrpl);
} // namespace test
} // namespace xrpl
} // namespace xrpl::test