diff options
| author | 2022-01-24 11:39:17 -0500 | |
|---|---|---|
| committer | 2022-01-24 11:39:20 -0500 | |
| commit | 8bb39750a1f0ebe9b9a30b58188198123e69598a (patch) | |
| tree | 74bbbb1e88eb45e9a76b742b535909b45c318996 /src/input_common/input_mapping.h | |
| parent | input_common/input_mapping: Default constructor (diff) | |
| download | yuzu-8bb39750a1f0ebe9b9a30b58188198123e69598a.tar.gz yuzu-8bb39750a1f0ebe9b9a30b58188198123e69598a.tar.xz yuzu-8bb39750a1f0ebe9b9a30b58188198123e69598a.zip | |
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 93564b5f8..aac9aee64 100644 --- a/src/input_common/input_mapping.h +++ b/src/input_common/input_mapping.h | |||
| @@ -20,7 +20,7 @@ public: | |||
| 20 | void BeginMapping(Polling::InputType type); | 20 | void BeginMapping(Polling::InputType type); |
| 21 | 21 | ||
| 22 | /// Returns an input event with mapping information from the input_queue | 22 | /// Returns an input event with mapping information from the input_queue |
| 23 | [[nodiscard]] const Common::ParamPackage GetNextInput(); | 23 | [[nodiscard]] Common::ParamPackage GetNextInput(); |
| 24 | 24 | ||
| 25 | /** | 25 | /** |
| 26 | * Registers mapping input data from the driver | 26 | * Registers mapping input data from the driver |