aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/paths.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/paths.cc')
-rw-r--r--src/libexpr/paths.cc2
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;
}
}