input_engine: Pass VibrationStatus by const reference in SetRumble()

Avoids creating copies of the struct where not necessary.
This commit is contained in:
Lioncash 2021-12-13 09:09:03 -05:00
parent 54e164d9de
commit f41c22d30f
7 changed files with 12 additions and 12 deletions

View file

@ -119,7 +119,7 @@ public:
// Sets rumble to a controller
virtual Common::Input::VibrationError SetRumble(
[[maybe_unused]] const PadIdentifier& identifier,
[[maybe_unused]] const Common::Input::VibrationStatus vibration) {
[[maybe_unused]] const Common::Input::VibrationStatus& vibration) {
return Common::Input::VibrationError::NotSupported;
}