mirror of https://github.com/AxioDL/boo.git
DolphinSmashAdapter: Make use of [[maybe_unused]]
This commit is contained in:
parent
475037f0e5
commit
b5c0c9e599
|
@ -47,16 +47,10 @@ struct DolphinControllerState {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct IDolphinSmashAdapterCallback {
|
struct IDolphinSmashAdapterCallback {
|
||||||
virtual void controllerConnected(unsigned idx, EDolphinControllerType type) {
|
virtual void controllerConnected([[maybe_unused]] unsigned idx, [[maybe_unused]] EDolphinControllerType type) {}
|
||||||
(void)idx;
|
virtual void controllerDisconnected([[maybe_unused]] unsigned idx) {}
|
||||||
(void)type;
|
virtual void controllerUpdate([[maybe_unused]] unsigned idx, [[maybe_unused]] EDolphinControllerType type,
|
||||||
}
|
[[maybe_unused]] const DolphinControllerState& state) {}
|
||||||
virtual void controllerDisconnected(unsigned idx) { (void)idx; }
|
|
||||||
virtual void controllerUpdate(unsigned idx, EDolphinControllerType type, const DolphinControllerState& state) {
|
|
||||||
(void)idx;
|
|
||||||
(void)type;
|
|
||||||
(void)state;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class DolphinSmashAdapter final : public TDeviceBase<IDolphinSmashAdapterCallback> {
|
class DolphinSmashAdapter final : public TDeviceBase<IDolphinSmashAdapterCallback> {
|
||||||
|
|
Loading…
Reference in New Issue