aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-03 14:12:38 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-03 14:12:38 +0000
commit3134db1a8399a4d224eb615becddeee12419883f (patch)
treea1ead3593f243f24cecd9581348d88f9eb0211f4 /src/libutil/hash.cc
parent13796be78dfa9d3a189ea6b482659c56b1301634 (diff)
parentdbffd309fed95d306135617fdc18ce4cf6109025 (diff)
Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into better-ca-parse-errors
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 35054462c..4b82f191e 100644
--- a/src/libutil/hash.cc
+++ b/src/libutil/hash.cc
@@ -406,7 +406,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);
}
}