mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
Update nar-info-disk-cache.cc
fix case when asserts are no-op, like in release build
This commit is contained in:
parent
bdb6f56c90
commit
64cbd4c05a
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ public:
|
|||
|
||||
{
|
||||
auto r(state->insertCache.use()(uri)(time(0))(storeDir)(wantMassQuery)(priority));
|
||||
assert(r.next());
|
||||
if (!r.next()) { abort(); }
|
||||
ret.id = (int) r.getInt(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue