Skip to content

Commit

Permalink
Remove unnecessary const
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpf authored Jan 25, 2025
1 parent 6895f1a commit a50c6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom-prompt/custom-prompt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ void report_command_status(std::string_view& last_command, int exit_code, long l
* @param venv Python virtual environment.
*/
void display_primary_prompt(
int shlvl, std::future<std::string> const& git_repository_information_future, char const* venv)
int shlvl, std::future<std::string> & git_repository_information_future, char const* venv)
{
std::cout << "\n" HOST_ICON " " BBI_YELLOW HOST RESET "" BB_CYAN DIRECTORY RESET;
if (git_repository_information_future.wait_for(std::chrono::milliseconds(150)) != std::future_status::ready)
Expand Down

0 comments on commit a50c6e2

Please sign in to comment.