diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-01-28 15:10:43 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-01-28 15:10:43 +0100 |
commit | 4bf6af7b555033de5c1d6851edb60a91940d43c3 (patch) | |
tree | b72e2705f44cb6fb6e71e8e5c871e82fc1cf0deb /src | |
parent | f05fefcd0306a8d24f42da52b1e8ea49e4b4c8d0 (diff) |
Remove a repeated std::move in a for loop
Diffstat (limited to 'src')
-rw-r--r-- | src/libexpr/primops.cc | 2 |
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, }, }); } |