mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-27 00:50:45 +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:
@@ -84,7 +84,7 @@ class Handler_test : public beast::unit_test::suite
|
||||
}
|
||||
}
|
||||
|
||||
const double mean_squared = (sum * sum) / (j * j);
|
||||
double const mean_squared = (sum * sum) / (j * j);
|
||||
return std::make_tuple(
|
||||
clock::duration{static_cast<long>(sum / j)},
|
||||
clock::duration{
|
||||
@@ -100,7 +100,7 @@ class Handler_test : public beast::unit_test::suite
|
||||
std::random_device dev;
|
||||
std::ranlux48 prng(dev());
|
||||
|
||||
std::vector<const char*> names =
|
||||
std::vector<char const*> names =
|
||||
test::jtx::make_vector(ripple::RPC::getHandlerNames());
|
||||
|
||||
std::uniform_int_distribution<std::size_t> distr{0, names.size() - 1};
|
||||
|
||||
Reference in New Issue
Block a user