diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-02 18:24:11 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-07-02 18:24:11 +0200 |
commit | b5e42536977d84359f5fea3f42cfefdd46799eb1 (patch) | |
tree | 37b396a67c08106e57314d655376f8ab0b05e008 /src/libutil/hash.cc | |
parent | a5b6e870fe9fb5ebf462c19963588d62f56d0f21 (diff) |
Fix abort in 'nix develop'
Diffstat (limited to 'src/libutil/hash.cc')
-rw-r--r-- | src/libutil/hash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.cc b/src/libutil/hash.cc index 01fae3044..1a3e7c5d8 100644 --- a/src/libutil/hash.cc +++ b/src/libutil/hash.cc @@ -370,7 +370,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); } } |