Replace Hasher CRTP base with a concept.
This commit is contained in:
+3
-1
@@ -163,7 +163,7 @@ struct Md4Hash
|
||||
|
||||
static_assert(Hash<Md4Hash>);
|
||||
|
||||
class Md4Hasher : public Hasher<Md4Hasher>
|
||||
class Md4Hasher
|
||||
{
|
||||
public:
|
||||
using HashType = Md4Hash;
|
||||
@@ -304,6 +304,8 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
static_assert(Hasher<Md4Hasher>);
|
||||
|
||||
} // namespace Chaos::Hash::Md4
|
||||
|
||||
#endif // CHAOS_HASH_MD4_HPP
|
||||
|
||||
Reference in New Issue
Block a user