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:
Lioncash 2022-01-24 11:39:17 -05:00
parent 5f80c764b0
commit cec9e4ec77
4 changed files with 4 additions and 4 deletions

View file

@ -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;