mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 01:37:00 +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:
@@ -149,7 +149,7 @@ struct DID_test : public beast::unit_test::suite
|
||||
BEAST_EXPECT(ownerCount(env, alice) == 0);
|
||||
|
||||
// uri is too long
|
||||
const std::string longString(257, 'a');
|
||||
std::string const longString(257, 'a');
|
||||
env(did::set(alice), did::uri(longString), ter(temMALFORMED));
|
||||
env.close();
|
||||
BEAST_EXPECT(ownerCount(env, alice) == 0);
|
||||
|
||||
Reference in New Issue
Block a user