mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-27 09:00:32 +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:
@@ -128,9 +128,9 @@ STIssue::add(Serializer& s) const
|
||||
}
|
||||
|
||||
bool
|
||||
STIssue::isEquivalent(const STBase& t) const
|
||||
STIssue::isEquivalent(STBase const& t) const
|
||||
{
|
||||
const STIssue* v = dynamic_cast<const STIssue*>(&t);
|
||||
STIssue const* v = dynamic_cast<STIssue const*>(&t);
|
||||
return v && (*v == *this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user