hid/controller/npad: Remove unnecessary const from void return type

This literally does nothing.
This commit is contained in:
Lioncash 2018-10-17 20:37:45 -04:00
parent 46202e984e
commit aeca224890
2 changed files with 2 additions and 2 deletions

View file

@ -316,7 +316,7 @@ void Controller_NPad::SetSupportedNPadIdTypes(u8* data, std::size_t length) {
std::memcpy(supported_npad_id_types.data(), data, length);
}
const void Controller_NPad::GetSupportedNpadIdTypes(u32* data, std::size_t max_length) {
void Controller_NPad::GetSupportedNpadIdTypes(u32* data, std::size_t max_length) {
ASSERT(max_length < supported_npad_id_types.size());
std::memcpy(data, supported_npad_id_types.data(), supported_npad_id_types.size());
}

View file

@ -92,7 +92,7 @@ public:
NPadType GetSupportedStyleSet() const;
void SetSupportedNPadIdTypes(u8* data, std::size_t length);
const void GetSupportedNpadIdTypes(u32* data, std::size_t max_length);
void GetSupportedNpadIdTypes(u32* data, std::size_t max_length);
std::size_t GetSupportedNPadIdTypesSize() const;
void SetHoldType(NpadHoldType joy_hold_type);