mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-25 16:10:57 +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:
@@ -19,9 +19,7 @@ STVector256::STVector256(SerialIter& sit, SField const& name) : STBase(name)
|
||||
auto const slice = sit.getSlice(sit.getVLDataLength());
|
||||
|
||||
if (slice.size() % uint256::size() != 0)
|
||||
Throw<std::runtime_error>(
|
||||
"Bad serialization for STVector256: " +
|
||||
std::to_string(slice.size()));
|
||||
Throw<std::runtime_error>("Bad serialization for STVector256: " + std::to_string(slice.size()));
|
||||
|
||||
auto const cnt = slice.size() / uint256::size();
|
||||
|
||||
@@ -58,11 +56,8 @@ STVector256::isDefault() const
|
||||
void
|
||||
STVector256::add(Serializer& s) const
|
||||
{
|
||||
XRPL_ASSERT(
|
||||
getFName().isBinary(), "xrpl::STVector256::add : field is binary");
|
||||
XRPL_ASSERT(
|
||||
getFName().fieldType == STI_VECTOR256,
|
||||
"xrpl::STVector256::add : valid field type");
|
||||
XRPL_ASSERT(getFName().isBinary(), "xrpl::STVector256::add : field is binary");
|
||||
XRPL_ASSERT(getFName().fieldType == STI_VECTOR256, "xrpl::STVector256::add : valid field type");
|
||||
s.addVL(mValue.begin(), mValue.end(), mValue.size() * (256 / 8));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user