aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/local-derivation-goal.cc
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 04:41:52 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 04:41:52 +0100
commitc0fa61340c00f7d2b7435e01a50a6dcdae18c88d (patch)
tree13ace4b5a8e08134b86a91e1e1c3aacc1d423b7e /src/libstore/build/local-derivation-goal.cc
parent75fb95320541ab69d7c0996f4ee6b5081141a6d0 (diff)
Merge pull request #9172 from tfc/bad-moves
Fix/remove some bad std::moves (cherry picked from commit 8c049a9f044569ebda70231709f6f15d3073894a) Change-Id: I720273378d2506a13883acee28abd096d099b0d4
Diffstat (limited to 'src/libstore/build/local-derivation-goal.cc')
-rw-r--r--src/libstore/build/local-derivation-goal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/local-derivation-goal.cc b/src/libstore/build/local-derivation-goal.cc
index 64b55ca6a..61bcd00ce 100644
--- a/src/libstore/build/local-derivation-goal.cc
+++ b/src/libstore/build/local-derivation-goal.cc
@@ -2511,7 +2511,7 @@ SingleDrvOutputs LocalDerivationGoal::registerOutputs()
ValidPathInfo newInfo0 {
worker.store,
outputPathName(drv->name, outputName),
- *std::move(optCA),
+ std::move(*optCA),
Hash::dummy,
};
if (*scratchPath != newInfo0.path) {