mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 15:20:54 +00:00
chore: Set ColumnLimit to 120 in clang-format (#6288)
This change updates the ColumnLimit from 80 to 120, and applies clang-format to reformat the code.
This commit is contained in:
@@ -7,20 +7,15 @@ std::uint32_t
|
||||
owned_count_of(ReadView const& view, AccountID const& id, LedgerEntryType type)
|
||||
{
|
||||
std::uint32_t count = 0;
|
||||
forEachItem(
|
||||
view, id, [&count, type](std::shared_ptr<SLE const> const& sle) {
|
||||
if (sle->getType() == type)
|
||||
++count;
|
||||
});
|
||||
forEachItem(view, id, [&count, type](std::shared_ptr<SLE const> const& sle) {
|
||||
if (sle->getType() == type)
|
||||
++count;
|
||||
});
|
||||
return count;
|
||||
}
|
||||
|
||||
void
|
||||
owned_count_helper(
|
||||
test::jtx::Env& env,
|
||||
AccountID const& id,
|
||||
LedgerEntryType type,
|
||||
std::uint32_t value)
|
||||
owned_count_helper(test::jtx::Env& env, AccountID const& id, LedgerEntryType type, std::uint32_t value)
|
||||
{
|
||||
env.test.expect(owned_count_of(*env.current(), id, type) == value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user