diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-01-25 16:15:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 16:15:45 -0500 |
commit | 432f4441b9420778970d9846750ff1458e6aaa03 (patch) | |
tree | 3b500254540c0df824342b8f7dd737931ce446ab /src/input_common/main.h | |
parent | 306b3491c4dcab8bcba732c8aa387b20583d8904 (diff) | |
parent | 651358d0b66dc425366059a7c119a2aec3fada1e (diff) |
Merge pull request #7774 from lioncash/mapping
input_common/main: Pass MappingData by const reference in callbacks
Diffstat (limited to 'src/input_common/main.h')
-rw-r--r-- | src/input_common/main.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h index c6f97f691..baf107e0f 100644 --- a/src/input_common/main.h +++ b/src/input_common/main.h @@ -126,7 +126,7 @@ public: void BeginMapping(Polling::InputType type); /// Returns an input event with mapping information. - [[nodiscard]] const Common::ParamPackage GetNextInput() const; + [[nodiscard]] Common::ParamPackage GetNextInput() const; /// Stop polling from all backends. void StopMapping() const; |