diff options
| author | 2022-01-24 11:39:17 -0500 | |
|---|---|---|
| committer | 2022-01-24 11:39:20 -0500 | |
| commit | 8bb39750a1f0ebe9b9a30b58188198123e69598a (patch) | |
| tree | 74bbbb1e88eb45e9a76b742b535909b45c318996 /src/input_common/main.cpp | |
| parent | input_common/input_mapping: Default constructor (diff) | |
| download | yuzu-8bb39750a1f0ebe9b9a30b58188198123e69598a.tar.gz yuzu-8bb39750a1f0ebe9b9a30b58188198123e69598a.tar.xz yuzu-8bb39750a1f0ebe9b9a30b58188198123e69598a.zip | |
input_common/input_mapping: Remove const from return value
Top-level const on a return by value can inhibit move semantics, and is
unnecessary.
Diffstat (limited to 'src/input_common/main.cpp')
| -rw-r--r-- | src/input_common/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp index e2b415bf6..a4d7ed645 100644 --- a/src/input_common/main.cpp +++ b/src/input_common/main.cpp | |||
| @@ -394,7 +394,7 @@ void InputSubsystem::BeginMapping(Polling::InputType type) { | |||
| 394 | impl->mapping_factory->BeginMapping(type); | 394 | impl->mapping_factory->BeginMapping(type); |
| 395 | } | 395 | } |
| 396 | 396 | ||
| 397 | const Common::ParamPackage InputSubsystem::GetNextInput() const { | 397 | Common::ParamPackage InputSubsystem::GetNextInput() const { |
| 398 | return impl->mapping_factory->GetNextInput(); | 398 | return impl->mapping_factory->GetNextInput(); |
| 399 | } | 399 | } |
| 400 | 400 | ||