diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-07-20 09:58:25 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-07-20 15:42:06 -0400 |
commit | f62543fe1cc544a5684af327f63a1aeb1bdeba94 (patch) | |
tree | 8bd59338eabb4117899b4d50a08622e63a9319c2 /src/libstore | |
parent | 7b30293d389ea75ee24ec1f2a4a4187f175757ab (diff) |
Remove unneeded copy
It appeared in 8eb73a87245acf9d93dc401831b629981864fa58 (by me!) without
justification.
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/local-store.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index e69460e6c..892ff2295 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -1022,9 +1022,8 @@ StorePathSet LocalStore::queryValidDerivers(const StorePath & path) std::map<std::string, std::optional<StorePath>> -LocalStore::queryPartialDerivationOutputMap(const StorePath & path_) +LocalStore::queryPartialDerivationOutputMap(const StorePath & path) { - auto path = path_; auto outputs = retrySQLite<std::map<std::string, std::optional<StorePath>>>([&]() { auto state(_state.lock()); std::map<std::string, std::optional<StorePath>> outputs; |