1
0
Fork 0
forked from suyu/suyu

Fix warnings in core/frontend/input.h with [[maybe_unused]]

Fixes build break due to #4927
This commit is contained in:
bunnei 2020-11-23 18:11:21 -08:00 committed by GitHub
parent e371d12af6
commit d04abd39eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {};
}
};