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 | cec9e4ec77651a219076b862e0a2cbbde0c38a24 (patch) | |
| tree | 74bbbb1e88eb45e9a76b742b535909b45c318996 /src/input_common/input_mapping.h | |
| parent | 5f80c764b0266c27568c312504708ad1c36246ed (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 |
