aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-03 14:11:38 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-03 14:11:38 +0000
commitdbffd309fed95d306135617fdc18ce4cf6109025 (patch)
tree97f8be0fa860f2c725c6ee5555a324f14d9889b0 /src/libutil/hash.cc
parent1be279af2622b196cc4630c48254adc96071c7e9 (diff)
parentc3c7aedbb5ac869b7c454e90683f77b9c527a75a (diff)
Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type
Diffstat (limited to 'src/libutil/hash.cc')
-rw-r--r--src/libutil/hash.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.cc b/src/libutil/hash.cc
index e060700d9..39eb28936 100644
--- a/src/libutil/hash.cc
+++ b/src/libutil/hash.cc
@@ -373,7 +373,7 @@ string printHashType(HashType ht)
default:
// illegal hash type enum value internally, as opposed to external input
// which should be validated with nice error message.
- abort();
+ assert(false);
}
}