mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
refactor: Enable remaining clang-tidy cppcoreguidelines checks (#6538)
This commit is contained in:
@@ -142,7 +142,7 @@ struct base_uint_test : beast::unit_test::suite
|
||||
// Test hash_append by "hashing" with a no-op hasher (h)
|
||||
// and then extracting the bytes that were written during hashing
|
||||
// back into another base_uint (w) for comparison with the original
|
||||
nonhash<96> h;
|
||||
nonhash<96> h{};
|
||||
hash_append(h, u);
|
||||
test96 w{std::vector<std::uint8_t>(h.data_.begin(), h.data_.end())};
|
||||
BEAST_EXPECT(w == u);
|
||||
|
||||
Reference in New Issue
Block a user