Fix macOS build

This commit is contained in:
Eelco Dolstra 2022-08-24 14:11:03 +02:00
parent f0358ed465
commit 8d906b1f3b

View file

@ -307,8 +307,9 @@ void Store::addMultipleToStore(
[&](const StorePath & path) {
checkInterrupt();
auto & [info_, source] = *infosMap.at(path);
auto & [info_, source_] = *infosMap.at(path);
auto info = info_;
auto source = std::move(source_);
info.ultimate = false;
/* Make sure that the Source object is destroyed when