chore: Enable clang-tidy misc checks (#6655)

This commit is contained in:
Alex Kremer
2026-03-31 18:29:45 +01:00
committed by GitHub
parent c3fae847f3
commit 2502befb42
469 changed files with 3915 additions and 3965 deletions

View File

@@ -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);