aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/parser.y
diff options
context:
space:
mode:
authorYingchi Long <i@lyc.dev>2023-07-10 12:02:29 +0800
committerYingchi Long <i@lyc.dev>2023-07-10 12:02:29 +0800
commit3d74e7b811ea8fc13e31127175be12ba8d39351c (patch)
tree5044a8979722aeae063c174809d2659c8c374c7b /src/libexpr/parser.y
parent2898dc71a8f6aa37dce1ecfbe3bf58f5a3266ef6 (diff)
libexpr: remove std::move() for `basePath` in parser, it has no effect
Diffstat (limited to 'src/libexpr/parser.y')
-rw-r--r--src/libexpr/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y
index 0d0004f9f..3336d3315 100644
--- a/src/libexpr/parser.y
+++ b/src/libexpr/parser.y
@@ -663,7 +663,7 @@ Expr * EvalState::parse(
ParseData data {
.state = *this,
.symbols = symbols,
- .basePath = std::move(basePath),
+ .basePath = basePath,
.origin = {origin},
};