Skip to content

Commit

Permalink
Merge pull request #1677 from contour-terminal/fix/signature_of_forma…
Browse files Browse the repository at this point in the history
…t_for_execinfo

Fix signature for format function for ExecInfo type
  • Loading branch information
Yaraslaut authored Dec 26, 2024
2 parents 9011fa2 + 2ad020a commit ec7aca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contour/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ struct Writer
return format(doc, v.count());
}

[[nodiscard]] std::string format(std::string_view doc, vtpty::Process::ExecInfo v)
[[nodiscard]] std::string format(std::string_view doc, vtpty::Process::ExecInfo const& v)
{
auto args = std::string { "[" };
args.append(v.arguments | ranges::views::join(", ") | ranges::to<std::string>);
Expand Down

0 comments on commit ec7aca6

Please sign in to comment.