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

WII_IPC_HLE_Device_usb: const correctness for function parameters #3318

Merged
merged 1 commit into from Dec 6, 2015

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Dec 5, 2015

The data passed in isn't modified in these functions.

Also normalizes variables with prefixed underscores in the modified functions (and normalizes outliers to our current coding style), as single-underscore followed by any lowercased/uppercased character is reserved for use in the global namespace (it's a common misconception this is assumed to only be the case for underscores followed by a capital character, but this is only the case in C, not C++).

The data passed in isn't modified in these functions

Also normalizes variables with prefixed underscores in the modified
functions (and normalizes outliers to our current coding style), as
single-underscore followed by any lowercased/uppercased character is
reserved for use in the global namespace (it's a common misconception this
is assumed to only be the case for underscores followed by a capital
character, but this is only the case in C, not C++).
@BhaaLseN
Copy link
Member

BhaaLseN commented Dec 6, 2015

Cleanup always LGTM :)

degasus added a commit that referenced this pull request Dec 6, 2015
WII_IPC_HLE_Device_usb: const correctness for function parameters
@degasus degasus merged commit a0ac2b8 into dolphin-emu:master Dec 6, 2015
@lioncash lioncash deleted the const branch December 6, 2015 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants