mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
refactor: use east const convention (#5409)
This change refactors the codebase to use the "east const convention", and adds a clang-format rule to follow this convention.
This commit is contained in:
@@ -86,9 +86,9 @@ STVector256::add(Serializer& s) const
|
||||
}
|
||||
|
||||
bool
|
||||
STVector256::isEquivalent(const STBase& t) const
|
||||
STVector256::isEquivalent(STBase const& t) const
|
||||
{
|
||||
const STVector256* v = dynamic_cast<const STVector256*>(&t);
|
||||
STVector256 const* v = dynamic_cast<STVector256 const*>(&t);
|
||||
return v && (mValue == v->mValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user