mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Define HashType's size to allow it to be forward-declared
This commit is contained in:
parent
739bab0be7
commit
7899fc959d
1 changed files with 1 additions and 1 deletions
|
@ -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