diff options
author | Lioncash <mathew1800@gmail.com> | 2022-01-24 11:39:17 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-01-24 11:39:20 -0500 |
commit | 8bb39750a1f0ebe9b9a30b58188198123e69598a (patch) | |
tree | 74bbbb1e88eb45e9a76b742b535909b45c318996 /src/input_common/input_mapping.h | |
parent | 12e7d3b254828fcaf2dda3906ae0e80723eeffa4 (diff) |
input_common/input_mapping: Remove const from return value
Top-level const on a return by value can inhibit move semantics, and is
unnecessary.
Diffstat (limited to 'src/input_common/input_mapping.h')
-rw-r--r-- | src/input_common/input_mapping.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/input_mapping.h b/src/input_common/input_mapping.h index 93564b5f8c..aac9aee64a 100644 --- a/src/input_common/input_mapping.h +++ b/src/input_common/input_mapping.h @@ -20,7 +20,7 @@ public: void BeginMapping(Polling::InputType type); /// Returns an input event with mapping information from the input_queue - [[nodiscard]] const Common::ParamPackage GetNextInput(); + [[nodiscard]] Common::ParamPackage GetNextInput(); /** * Registers mapping input data from the driver |