aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/parser.y
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-01-21 17:55:51 +0100
committerpennae <github@quasiparticle.net>2022-01-27 17:15:43 +0100
commit0d7fae6a574ec1b6758a7e6d8e639145c1c465a9 (patch)
treefda5ab069729b9a078ca8e220d42d56515c988ec /src/libexpr/parser.y
parent558c4ee3e370c9f9a6ea293df54ed6914a999f1c (diff)
convert a for more utilities to string_view
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 7a8e93c12..dd76fd66f 100644
--- a/src/libexpr/parser.y
+++ b/src/libexpr/parser.y
@@ -598,7 +598,7 @@ namespace nix {
Expr * EvalState::parse(char * text, size_t length, FileOrigin origin,
- const Path & path, const Path & basePath, StaticEnv & staticEnv)
+ const PathView path, const PathView basePath, StaticEnv & staticEnv)
{
yyscan_t scanner;
ParseData data(*this);