diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-04 04:41:52 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-04 04:41:52 +0100 |
commit | c0fa61340c00f7d2b7435e01a50a6dcdae18c88d (patch) | |
tree | 13ace4b5a8e08134b86a91e1e1c3aacc1d423b7e /src/libexpr/paths.cc | |
parent | 75fb95320541ab69d7c0996f4ee6b5081141a6d0 (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/libexpr/paths.cc')
-rw-r--r-- | src/libexpr/paths.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/paths.cc b/src/libexpr/paths.cc index 1d690b722..b6a696f47 100644 --- a/src/libexpr/paths.cc +++ b/src/libexpr/paths.cc @@ -4,7 +4,7 @@ namespace nix { SourcePath EvalState::rootPath(CanonPath path) { - return std::move(path); + return path; } } |