Merge pull request #8681 from inclyc/libexpr/parser-move-noeffect

libexpr: remove std::move() for `basePath` in parser, it has no effect
This commit is contained in:
Eelco Dolstra 2023-07-10 13:30:42 +02:00 committed by GitHub
commit fea7d3b1cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -663,7 +663,7 @@ Expr * EvalState::parse(
ParseData data {
.state = *this,
.symbols = symbols,
.basePath = std::move(basePath),
.basePath = basePath,
.origin = {origin},
};