Skip to content

Commit e761a9f

Browse files
vinayakankugoyalEricson2314
authored andcommitted
Use std::filesystem::path instead of Path in libexpr.
1 parent 2e262c6 commit e761a9f

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)