Skip to content

Conversation

@Flamefire
Copy link
Contributor

No description provided.

@Flamefire Flamefire closed this Dec 9, 2024
@Flamefire Flamefire deleted the unused branch December 9, 2024 10:28
@Flamefire Flamefire restored the unused branch December 9, 2024 10:50
@Flamefire Flamefire reopened this Dec 9, 2024
Init && init, base && )
Init &&, base && )
{
boost::ignore_unused(executable, cmd_line);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you using ignore_unused for some and remove the names for others?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found this more understandable this way. The name of the argument in Launcher & launcher isn't required but for const filesystem::path &executable it does help in understanding what would be here. Similar for error_code& ec

This allows easily verifying that the signature is correct.
The alternatives are to use either approach consistently which is more code, or commenting out the parameter name instead of removing it.

@klemens-morgenstern
Copy link
Collaborator

Fixed in 662c0b1

@Flamefire
Copy link
Contributor Author

Thanks!

@Flamefire Flamefire deleted the unused branch December 20, 2024 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants