aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-07-10 13:30:42 +0200
committerGitHub <noreply@github.com>2023-07-10 13:30:42 +0200
commitfea7d3b1cd49679c0fe582e14bbb70fa995da962 (patch)
tree717821ce00a3c640ffc47c41687e1d76d608e579
parent7bb8d16fccd1eebd68bf57ee7f791b944167c379 (diff)
parent3d74e7b811ea8fc13e31127175be12ba8d39351c (diff)
Merge pull request #8681 from inclyc/libexpr/parser-move-noeffect
libexpr: remove std::move() for `basePath` in parser, it has no effect
-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},
};