Replace Hasher CRTP base with a concept.
Chaos Ci / test (push) Successful in 3m17s
Chaos Ci / benchmark (push) Successful in 1m54s

This commit is contained in:
hashlag
2026-08-31 01:22:07 +03:00
parent 2f1b5091cd
commit b03fddd40b
5 changed files with 18 additions and 37 deletions
+3 -1
View File
@@ -157,7 +157,7 @@ struct Sha1Hash
static_assert(Hash<Sha1Hash>);
class Sha1Hasher : public Hasher<Sha1Hasher>
class Sha1Hasher
{
public:
using HashType = Sha1Hash;
@@ -298,6 +298,8 @@ private:
}
};
static_assert(Hasher<Sha1Hasher>);
} // namespace Chaos::Hash::Sha1
#endif // CHAOS_HASH_SHA1_HPP