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:
Ayaz Salikhov
2026-01-28 18:09:50 +00:00
committed by GitHub
parent 92046785d1
commit 5f638f5553
1016 changed files with 26918 additions and 66660 deletions

View File

@@ -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);
}