diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-11-03 12:52:57 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-11-03 14:45:24 +0100 |
commit | e8c379555fa0441c5ab83b8e5a3a106d69fe2507 (patch) | |
tree | 45b0f28fa11b7a57e46b01392bfee200ac520049 /src/nix-store | |
parent | 797a52e31d97381e0be7e0a80e43f8cb259f8a6b (diff) |
LocalStore: Get rid of recursive_mutex
Diffstat (limited to 'src/nix-store')
-rw-r--r-- | src/nix-store/nix-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc index 14baabc36..6c2702bfe 100644 --- a/src/nix-store/nix-store.cc +++ b/src/nix-store/nix-store.cc @@ -516,7 +516,7 @@ static void registerValidity(bool reregister, bool hashGiven, bool canonicalise) info->narHash = hash.first; info->narSize = hash.second; } - infos.push_back(std::move(*info)); + infos.insert_or_assign(info->path, *info); } } |