Remove a repeated std::move in a for loop

This commit is contained in:
Eelco Dolstra 2022-01-28 15:10:43 +01:00
parent f05fefcd03
commit 4bf6af7b55

View file

@ -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,
},
});
}