mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 20:47:56 -05: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:
@ -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