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 | 985599e485cbee94eb99d0bfcfdbec5345968b15 (patch) | |
tree | 6474358820f1029658ff76beca5454e1da322d2a /src/input_common/input_engine.h | |
parent | 38f3442ea56a3ac9447924c015c2a9ade0f5bb83 (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( |