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

NonCopyable: Minor changes #3730

Merged
merged 2 commits into from Apr 30, 2016
Merged

NonCopyable: Minor changes #3730

merged 2 commits into from Apr 30, 2016

Conversation

lioncash
Copy link
Member

The compiler auto-generates the copy constructor/assignment functions with const qualified parameters, so we should specify those instead.

Also, this removes the private access specifier, since this isn't necessary, as the members are deleted. This will also change the compiler error on attempted copies to indicate that the constructor/member function is deleted, rather than inaccessible.


This change is Review on Reviewable

This isn't necessary, as the member functions are deleted.
If someone tries to perform a copy, the compiler will now
indicate that the member functions/constructors are deleted,
rather than inaccessible.
@degasus
Copy link
Member

degasus commented Mar 14, 2016

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from the review on Reviewable.io

@Parlane Parlane merged commit a78787b into dolphin-emu:master Apr 30, 2016
@lioncash lioncash deleted the noncopy branch May 1, 2016 00:02
@lioncash lioncash added this to the Dolphin Release 5.0 milestone May 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants