mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-07 02:36:47 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user