mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 10:16:45 +00:00
refactor: Enable more clang-tidy readability checks (#6595)
Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com>
This commit is contained in:
@@ -37,7 +37,7 @@ struct Directory_test : public beast::unit_test::suite
|
||||
|
||||
// Insert n empty pages, numbered [0, ... n - 1], in the
|
||||
// specified directory:
|
||||
void
|
||||
static void
|
||||
makePages(Sandbox& sb, uint256 const& base, std::uint64_t n)
|
||||
{
|
||||
for (std::uint64_t i = 0; i < n; ++i)
|
||||
@@ -274,7 +274,7 @@ struct Directory_test : public beast::unit_test::suite
|
||||
{
|
||||
for (int i = 0; i < dirNodeMaxEntries; ++i)
|
||||
{
|
||||
env(offer_cancel(alice, firstOfferSeq + page * dirNodeMaxEntries + i));
|
||||
env(offer_cancel(alice, firstOfferSeq + (page * dirNodeMaxEntries) + i));
|
||||
env.close();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user