Define HashType's size to allow it to be forward-declared

This commit is contained in:
Eelco Dolstra 2016-01-27 17:46:01 +01:00
parent 739bab0be7
commit 7899fc959d
1 changed files with 1 additions and 1 deletions

View File

@ -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;