mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 18:45:52 +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:
@@ -67,9 +67,9 @@ public:
|
||||
static Permission const&
|
||||
getInstance();
|
||||
|
||||
Permission(const Permission&) = delete;
|
||||
Permission(Permission const&) = delete;
|
||||
Permission&
|
||||
operator=(const Permission&) = delete;
|
||||
operator=(Permission const&) = delete;
|
||||
|
||||
std::optional<std::uint32_t>
|
||||
getGranularValue(std::string const& name) const;
|
||||
@@ -85,7 +85,7 @@ public:
|
||||
|
||||
// for tx level permission, permission value is equal to tx type plus one
|
||||
uint32_t
|
||||
txToPermissionType(const TxType& type) const;
|
||||
txToPermissionType(TxType const& type) const;
|
||||
|
||||
// tx type value is permission value minus one
|
||||
TxType
|
||||
|
||||
Reference in New Issue
Block a user