mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-24 15:40:26 +00:00
chore: Enable clang-tidy misc checks (#6655)
This commit is contained in:
@@ -304,7 +304,7 @@ public:
|
||||
auto s = good;
|
||||
|
||||
// Remove all characters from the string in random order:
|
||||
std::hash<std::string> r;
|
||||
std::hash<std::string> const r;
|
||||
|
||||
while (!s.empty())
|
||||
{
|
||||
@@ -421,7 +421,7 @@ public:
|
||||
KeyType::secp256k1,
|
||||
generateSecretKey(KeyType::secp256k1, generateSeed("masterpassphrase")));
|
||||
|
||||
PublicKey pk2(pk1);
|
||||
PublicKey const pk2(pk1);
|
||||
BEAST_EXPECT(pk1 == pk2);
|
||||
BEAST_EXPECT(pk2 == pk1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user