mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-13 02:32:57 +01:00
input_common/input_mapping: Remove const from return value
Top-level const on a return by value can inhibit move semantics, and is unnecessary.
This commit is contained in:
1 parent
5f80c764b0
commit
cec9e4ec77
4 files changed
+4
-4
No files matched your search
@@ -19,7 +19,7 @@ void MappingFactory::BeginMapping(Polling::InputType type) {
|
||||
second_axis = -1;
|
||||
}
|
||||
|
||||
[[nodiscard]] const Common::ParamPackage MappingFactory::GetNextInput() {
|
||||
Common::ParamPackage MappingFactory::GetNextInput() {
|
||||
Common::ParamPackage input;
|
||||
input_queue.Pop(input);
|
||||
return input;
|
||||
|
||||
Reference in new issue
Block a user