mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-15 19:20:25 +00:00
clang-tidy: const correctness
This commit is contained in:
@@ -219,13 +219,13 @@ struct base_uint_test : beast::unit_test::Suite
|
||||
{
|
||||
// There are several ways to create a zero. beast::kZero is tested above. Test some
|
||||
// others.
|
||||
test96 z1;
|
||||
test96 const z1;
|
||||
BEAST_EXPECTS(z1 == z, to_string(z1));
|
||||
|
||||
test96 z2{};
|
||||
test96 const z2{};
|
||||
BEAST_EXPECTS(z2 == z, to_string(z2));
|
||||
|
||||
test96 z3{0u};
|
||||
test96 const z3{0u};
|
||||
BEAST_EXPECTS(z3 == z, to_string(z2));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user