Quellcode durchsuchen

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

Fixes build break due to #4927
bunnei vor 5 Jahren
Ursprung
Commit
d04abd39eb
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      src/core/frontend/input.h

+ 3 - 1
src/core/frontend/input.h

@@ -33,7 +33,9 @@ public:
     virtual bool GetAnalogDirectionStatus([[maybe_unused]] AnalogDirection direction) const {
     virtual bool GetAnalogDirectionStatus([[maybe_unused]] AnalogDirection direction) const {
         return {};
         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 {};
         return {};
     }
     }
 };
 };