aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/path.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-03-30 22:31:51 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-03-30 22:31:51 +0000
commit51afea3af23640a3fb2cfe8cfae5cf3cc27eb3a1 (patch)
treea60c8f005ecc3c051f2641ad5e63ac86ec897e96 /src/libstore/path.hh
parentc251b011cda4992caeba1094c63067018d05a7dd (diff)
Never cast `FileIngestionMethod` to or from boolean
Diffstat (limited to 'src/libstore/path.hh')
-rw-r--r--src/libstore/path.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/path.hh b/src/libstore/path.hh
index 73c4b8e29..5122e7422 100644
--- a/src/libstore/path.hh
+++ b/src/libstore/path.hh
@@ -73,7 +73,7 @@ const size_t storePathHashLen = 32; // i.e. 160 bits
/* Extension of derivations in the Nix store. */
const std::string drvExtension = ".drv";
-enum struct FileIngestionMethod : bool {
+enum struct FileIngestionMethod : uint8_t {
Flat = false,
Recursive = true
};