summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-11-23 18:11:21 -0800
committerGitHub <noreply@github.com>2020-11-23 18:11:21 -0800
commitd04abd39eb3dd5333cbd84e2bb6ad7e4f438de34 (patch)
treecacb8a0f5ec92911c0ab255c416f13e72943af68
parente371d12af6046c316956edb2f6322ad66c0189d4 (diff)
Fix warnings in core/frontend/input.h with [[maybe_unused]]
Fixes build break due to #4927
-rw-r--r--src/core/frontend/input.h4
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 {};
}
};