Replace Hasher CRTP base with a concept.
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user