Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clang-tidy findings #435

Merged
merged 2 commits into from
Nov 25, 2024
Merged

Fix clang-tidy findings #435

merged 2 commits into from
Nov 25, 2024

Conversation

Neverlord
Copy link
Member

@Neverlord Neverlord commented Nov 24, 2024

Relates #365.

See the commit messages for more context.

Addressed warnings:

- parameter is copied for each invocation but only used as a const
  reference
- do not use 'std::endl' with streams; use '\\n' instead

Furthermore, `performance-enum-size` warnings have been disabled. Broker
uses several enum types in types that are exchanged over the network.
Changing the enum types would be a breaking change on the wire format.
Fix occurrences of "The value '0' provided to the cast expression is not
in the valid range of values for 'p2p_message_type'."
@Neverlord Neverlord merged commit d357955 into master Nov 25, 2024
19 checks passed
@Neverlord Neverlord deleted the topic/neverlord/gh-365 branch November 25, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants