diff options
| author | 2020-11-23 18:11:21 -0800 | |
|---|---|---|
| committer | 2020-11-23 18:11:21 -0800 | |
| commit | d04abd39eb3dd5333cbd84e2bb6ad7e4f438de34 (patch) | |
| tree | cacb8a0f5ec92911c0ab255c416f13e72943af68 | |
| parent | Merge pull request #4927 from lioncash/input-error (diff) | |
| download | yuzu-d04abd39eb3dd5333cbd84e2bb6ad7e4f438de34.tar.gz yuzu-d04abd39eb3dd5333cbd84e2bb6ad7e4f438de34.tar.xz yuzu-d04abd39eb3dd5333cbd84e2bb6ad7e4f438de34.zip | |
Fix warnings in core/frontend/input.h with [[maybe_unused]]
Fixes build break due to #4927
Diffstat (limited to '')
| -rw-r--r-- | src/core/frontend/input.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/frontend/input.h b/src/core/frontend/input.h index 95c2848eb..11c2e96ca 100644 --- a/src/core/frontend/input.h +++ b/src/core/frontend/input.h | |||
| @@ -33,7 +33,9 @@ public: | |||
| 33 | virtual bool GetAnalogDirectionStatus([[maybe_unused]] AnalogDirection direction) const { | 33 | virtual bool GetAnalogDirectionStatus([[maybe_unused]] AnalogDirection direction) const { |
| 34 | return {}; | 34 | return {}; |
| 35 | } | 35 | } |
| 36 | virtual bool SetRumblePlay(f32 amp_low, f32 freq_low, f32 amp_high, f32 freq_high) const { | 36 | virtual bool SetRumblePlay([[maybe_unused]] f32 amp_low, [[maybe_unused]] f32 freq_low, |
| 37 | [[maybe_unused]] f32 amp_high, | ||
| 38 | [[maybe_unused]] f32 freq_high) const { | ||
| 37 | return {}; | 39 | return {}; |
| 38 | } | 40 | } |
| 39 | }; | 41 | }; |