From 8bb39750a1f0ebe9b9a30b58188198123e69598a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 24 Jan 2022 11:39:17 -0500 Subject: input_common/input_mapping: Remove const from return value Top-level const on a return by value can inhibit move semantics, and is unnecessary. --- src/input_common/input_mapping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_common/input_mapping.h') diff --git a/src/input_common/input_mapping.h b/src/input_common/input_mapping.h index 93564b5f8..aac9aee64 100644 --- a/src/input_common/input_mapping.h +++ b/src/input_common/input_mapping.h @@ -20,7 +20,7 @@ public: void BeginMapping(Polling::InputType type); /// Returns an input event with mapping information from the input_queue - [[nodiscard]] const Common::ParamPackage GetNextInput(); + [[nodiscard]] Common::ParamPackage GetNextInput(); /** * Registers mapping input data from the driver -- cgit v1.2.3