-
Notifications
You must be signed in to change notification settings - Fork 719
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
[Cleanup] Declare single-argument (non-converting) constructors "explicit" #2943
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 18a9d6c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 18a9d6c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 18a9d6c
18a9d6c
to
bf8fef9
Compare
bf8fef9
to
1cc9a80
Compare
Rebased on master to resolve conflicts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 1cc9a80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 1cc9a80
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.