Fixed cppcheck error

This commit is contained in:
SChernykh
2026-04-24 16:03:17 +02:00
parent 54e0d3f3eb
commit e1acf7b786
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ struct alignas(uint64_t) hash
}
}
constexpr hash(const char (&s)[HASH_SIZE * 2 + 1]) : h{} {
explicit constexpr hash(const char (&s)[HASH_SIZE * 2 + 1]) : h{} {
for (size_t i = 0; i < HASH_SIZE * 2; ++i) {
char c = s[i];