diff options
| author | Lioncash <mathew1800@gmail.com> | 2021-12-13 09:20:55 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2021-12-13 09:20:58 -0500 |
| commit | cd45635f563460541af925ba4a566d6f95dc0989 (patch) | |
| tree | 6474358820f1029658ff76beca5454e1da322d2a /src/input_common/input_engine.h | |
| parent | f41c22d30f016d5599ea1fde9eceb43cab6d6be0 (diff) | |
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 15cd5fa2e5..78e7046c7c 100644 --- a/src/input_common/input_engine.h +++ b/src/input_common/input_engine.h @@ -114,7 +114,7 @@ public: // Sets a led pattern for a controller virtual void SetLeds([[maybe_unused]] const PadIdentifier& identifier, - [[maybe_unused]] const Common::Input::LedStatus led_status) {} + [[maybe_unused]] const Common::Input::LedStatus& led_status) {} // Sets rumble to a controller virtual Common::Input::VibrationError SetRumble( |
