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:
parent
5f80c764b0
commit
cec9e4ec77
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue