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:
@@ -197,9 +197,9 @@ STXChainBridge::getSType() const
|
||||
}
|
||||
|
||||
bool
|
||||
STXChainBridge::isEquivalent(const STBase& t) const
|
||||
STXChainBridge::isEquivalent(STBase const& t) const
|
||||
{
|
||||
const STXChainBridge* v = dynamic_cast<const STXChainBridge*>(&t);
|
||||
STXChainBridge const* v = dynamic_cast<STXChainBridge const*>(&t);
|
||||
return v && (*v == *this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user