mirror of
https://github.com/NixOS/nix
synced 2024-09-19 23:03:53 -04:00
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 {
|
namespace nix {
|
||||||
|
|
||||||
|
|
||||||
typedef enum { htUnknown, htMD5, htSHA1, htSHA256, htSHA512 } HashType;
|
enum HashType : char { htUnknown, htMD5, htSHA1, htSHA256, htSHA512 };
|
||||||
|
|
||||||
|
|
||||||
const int md5HashSize = 16;
|
const int md5HashSize = 16;
|
||||||
|
|
Loading…
Reference in a new issue