diff options
Diffstat (limited to 'third_party/nix/src/nix/sigs.cc')
-rw-r--r-- | third_party/nix/src/nix/sigs.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/nix/sigs.cc b/third_party/nix/src/nix/sigs.cc index eb99fc8ee581..420296a8023f 100644 --- a/third_party/nix/src/nix/sigs.cc +++ b/third_party/nix/src/nix/sigs.cc @@ -71,7 +71,7 @@ struct CmdCopySigs : StorePathsCommand { } for (auto& sig : info2->sigs) { - if (!info->sigs.count(sig)) { + if (info->sigs.count(sig) == 0u) { newSigs.insert(sig); } } @@ -132,7 +132,7 @@ struct CmdSignPaths : StorePathsCommand { info2.sign(secretKey); assert(!info2.sigs.empty()); - if (!info->sigs.count(*info2.sigs.begin())) { + if (info->sigs.count(*info2.sigs.begin()) == 0u) { store->addSignatures(storePath, info2.sigs); added++; } |