diff options
author | bunnei <bunneidev@gmail.com> | 2020-11-23 18:11:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-23 18:11:21 -0800 |
commit | d04abd39eb3dd5333cbd84e2bb6ad7e4f438de34 (patch) | |
tree | cacb8a0f5ec92911c0ab255c416f13e72943af68 | |
parent | e371d12af6046c316956edb2f6322ad66c0189d4 (diff) |
Fix warnings in core/frontend/input.h with [[maybe_unused]]
Fixes build break due to #4927
-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: virtual bool GetAnalogDirectionStatus([[maybe_unused]] AnalogDirection direction) const { return {}; } - virtual bool SetRumblePlay(f32 amp_low, f32 freq_low, f32 amp_high, f32 freq_high) const { + virtual bool SetRumblePlay([[maybe_unused]] f32 amp_low, [[maybe_unused]] f32 freq_low, + [[maybe_unused]] f32 amp_high, + [[maybe_unused]] f32 freq_high) const { return {}; } }; |