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

[Cleanup] Declare single-argument (non-converting) constructors "explicit" #2943

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Fuzzbawls
Copy link
Collaborator

Declare single-argument (non-converting) constructors explicit.

In order to avoid unintended implicit conversions.

Coming from bitcoin#10969

Added a new CI lint job that uses cppcheck to indicate any regressions or new introductions. This lint framework can be expanded on to catch other static analysis warnings in future PRs.

@Fuzzbawls Fuzzbawls added this to the 6.0.0 milestone Nov 2, 2024
@Fuzzbawls Fuzzbawls self-assigned this Nov 2, 2024
Copy link

@panleone panleone left a comment

Choose a reason for hiding this comment

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

utACK 18a9d6c

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