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
@@ -187,7 +187,7 @@ struct Md5Hash
static_assert(Hash<Md5Hash>);
class Md5Hasher : public Hasher<Md5Hasher>
class Md5Hasher
{
public:
using HashType = Md5Hash;
@@ -328,6 +328,8 @@ private:
}
};
static_assert(Hasher<Md5Hasher>);
} // namespace Chaos::Hash::Md5
#endif // CHAOS_HASH_MD5_HPP