summaryrefslogtreecommitdiff
path: root/src/input_common/main.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-01-24 11:39:17 -0500
committerLioncash <mathew1800@gmail.com>2022-01-24 11:39:20 -0500
commit8bb39750a1f0ebe9b9a30b58188198123e69598a (patch)
tree74bbbb1e88eb45e9a76b742b535909b45c318996 /src/input_common/main.h
parent12e7d3b254828fcaf2dda3906ae0e80723eeffa4 (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/main.h')
-rw-r--r--src/input_common/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h
index c6f97f691..baf107e0f 100644
--- a/src/input_common/main.h
+++ b/src/input_common/main.h
@@ -126,7 +126,7 @@ public:
void BeginMapping(Polling::InputType type);
/// Returns an input event with mapping information.
- [[nodiscard]] const Common::ParamPackage GetNextInput() const;
+ [[nodiscard]] Common::ParamPackage GetNextInput() const;
/// Stop polling from all backends.
void StopMapping() const;