Remove unneeded copy

It appeared in 8eb73a8724 (by me!) without
justification.
This commit is contained in:
John Ericson 2023-07-20 09:58:25 -04:00
parent 7b30293d38
commit f62543fe1c

View file

@ -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;