forked from lix-project/lix
Define HashType's size to allow it to be forward-declared
This commit is contained in:
parent
739bab0be7
commit
7899fc959d
|
@ -7,7 +7,7 @@
|
|||
namespace nix {
|
||||
|
||||
|
||||
typedef enum { htUnknown, htMD5, htSHA1, htSHA256, htSHA512 } HashType;
|
||||
enum HashType : char { htUnknown, htMD5, htSHA1, htSHA256, htSHA512 };
|
||||
|
||||
|
||||
const int md5HashSize = 16;
|
||||
|
|
Loading…
Reference in a new issue