diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-08-24 14:11:03 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-08-24 14:11:03 +0200 |
commit | 8d906b1f3bd4343b6b309ddfca824d5dd00a09b1 (patch) | |
tree | 227342d6b21f44469932d39aa8a6daea0f2cf5d0 | |
parent | f0358ed4650e4608a383bd9f59ee23545f86c4ad (diff) |
Fix macOS build
-rw-r--r-- | src/libstore/store-api.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 9c3a0b3d6..2cd6c15ec 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -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 |