mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +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:
@@ -300,7 +300,7 @@ public:
|
||||
unexpected(!to_currency(c, "USD"), "create USD currency");
|
||||
unexpected(to_string(c) != "USD", "check USD currency");
|
||||
|
||||
const std::string cur = "015841551A748AD2C1F76FF6ECB0CCCD00000000";
|
||||
std::string const cur = "015841551A748AD2C1F76FF6ECB0CCCD00000000";
|
||||
unexpected(!to_currency(c, cur), "create custom currency");
|
||||
unexpected(to_string(c) != cur, "check custom currency");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user