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

Merged
merged 2 commits into from
Nov 16, 2024

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
panleone
panleone previously approved these changes 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

Duddino
Duddino previously approved these changes Nov 5, 2024
Copy link
Member

@Duddino Duddino 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

Liquid369
Liquid369 previously approved these changes Nov 7, 2024
Copy link
Member

@Liquid369 Liquid369 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

@Fuzzbawls Fuzzbawls dismissed stale reviews from Liquid369, Duddino, and panleone via bf8fef9 November 13, 2024 05:29
@Fuzzbawls Fuzzbawls force-pushed the 2024_explicit-constructors branch from 18a9d6c to bf8fef9 Compare November 13, 2024 05:29
@Fuzzbawls Fuzzbawls force-pushed the 2024_explicit-constructors branch from bf8fef9 to 1cc9a80 Compare November 13, 2024 06:31
@Fuzzbawls
Copy link
Collaborator Author

Rebased on master to resolve conflicts

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 1cc9a80

Copy link
Member

@Liquid369 Liquid369 left a comment

Choose a reason for hiding this comment

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

utACK 1cc9a80

@Fuzzbawls Fuzzbawls merged commit e0463fb into PIVX-Project:master Nov 16, 2024
28 checks passed
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.

4 participants