aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-01-28 15:10:43 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-01-28 15:10:43 +0100
commit4bf6af7b555033de5c1d6851edb60a91940d43c3 (patch)
treeb72e2705f44cb6fb6e71e8e5c871e82fc1cf0deb /src/libexpr
parentf05fefcd0306a8d24f42da52b1e8ea49e4b4c8d0 (diff)
Remove a repeated std::move in a for loop
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index acee71d19..b53425510 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -1179,7 +1179,7 @@ static void prim_derivationStrict(EvalState & state, const Pos & pos, Value * *
drv.outputs.insert_or_assign(i, DerivationOutput {
.output = DerivationOutputCAFloating {
.method = ingestionMethod,
- .hashType = std::move(ht),
+ .hashType = ht,
},
});
}