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

Remove a couple of unnecessary copy constructors/operators. #202

Merged
merged 1 commit into from
Apr 21, 2021

Conversation

zrax
Copy link
Member

@zrax zrax commented Apr 21, 2021

Clang (rightfully) warns when a class has a copy constructor but no copy operator=() or vice versa. In these specific cases, the default generated version is sufficient (and for the case of hsException, the manually specified version missed copying some fields).

Clang (rightfully) warns when a class has a copy constructor but no copy
operator=() or vice versa.  In these specific cases, the default
generated version is sufficient (and for the case of hsException, the
manually specified version missed copying some fields).
@zrax zrax merged commit fc4beb6 into H-uru:master Apr 21, 2021
@zrax zrax deleted the clang_cleanup branch April 21, 2021 20:24
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.

None yet

2 participants