Skip to content

Commit 154191a

Browse files
Use std::filesystem::path instead of Path in libexpr.
1 parent 15b222b commit 154191a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libexpr/parser.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ path_start
384384
std::string_view($1.p, $1.l)
385385
);
386386
}
387-
Path path(getHome() + std::string($1.p + 1, $1.l - 1));
387+
Path path(getHome().string() + std::string($1.p + 1, $1.l - 1));
388388
$$ = state->exprs.add<ExprPath>(state->exprs.alloc, ref<SourceAccessor>(state->rootFS), path);
389389
}
390390
;

0 commit comments

Comments
 (0)