Skip to content

Commit 1d67c9d

Browse files
committed
Fixed clang-tidy warnings
1 parent e129f43 commit 1d67c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/generators/generators.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void make_context_source_relative(
3535
if (source.at("path").empty())
3636
return;
3737

38-
auto path = std::filesystem::path(source.at("path"));
38+
auto path = std::filesystem::path{source.at("path")};
3939
auto prefix_path = std::filesystem::path(prefix);
4040
if (path.is_absolute() && util::is_relative_to(path, prefix_path)) {
4141
source["path"] = relative(path, prefix_path);

0 commit comments

Comments
 (0)