diff options
| author | 2021-12-13 09:20:55 -0500 | |
|---|---|---|
| committer | 2021-12-13 09:20:58 -0500 | |
| commit | 985599e485cbee94eb99d0bfcfdbec5345968b15 (patch) | |
| tree | 6474358820f1029658ff76beca5454e1da322d2a /src/input_common/input_engine.h | |
| parent | input_engine: Pass VibrationStatus by const reference in SetRumble() (diff) | |
| download | yuzu-985599e485cbee94eb99d0bfcfdbec5345968b15.tar.gz yuzu-985599e485cbee94eb99d0bfcfdbec5345968b15.tar.xz yuzu-985599e485cbee94eb99d0bfcfdbec5345968b15.zip | |
input_engine: Pass LedStatus by const reference
Avoids copies where reasonably applicable
Diffstat (limited to 'src/input_common/input_engine.h')
| -rw-r--r-- | src/input_common/input_engine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/input_engine.h b/src/input_common/input_engine.h index 15cd5fa2e..78e7046c7 100644 --- a/src/input_common/input_engine.h +++ b/src/input_common/input_engine.h | |||
| @@ -114,7 +114,7 @@ public: | |||
| 114 | 114 | ||
| 115 | // Sets a led pattern for a controller | 115 | // Sets a led pattern for a controller |
| 116 | virtual void SetLeds([[maybe_unused]] const PadIdentifier& identifier, | 116 | virtual void SetLeds([[maybe_unused]] const PadIdentifier& identifier, |
| 117 | [[maybe_unused]] const Common::Input::LedStatus led_status) {} | 117 | [[maybe_unused]] const Common::Input::LedStatus& led_status) {} |
| 118 | 118 | ||
| 119 | // Sets rumble to a controller | 119 | // Sets rumble to a controller |
| 120 | virtual Common::Input::VibrationError SetRumble( | 120 | virtual Common::Input::VibrationError SetRumble( |