We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e129f43 commit 1d67c9dCopy full SHA for 1d67c9d
src/common/generators/generators.cc
@@ -35,7 +35,7 @@ void make_context_source_relative(
35
if (source.at("path").empty())
36
return;
37
38
- auto path = std::filesystem::path(source.at("path"));
+ auto path = std::filesystem::path{source.at("path")};
39
auto prefix_path = std::filesystem::path(prefix);
40
if (path.is_absolute() && util::is_relative_to(path, prefix_path)) {
41
source["path"] = relative(path, prefix_path);
0 commit comments