mirror of https://github.com/AxioDL/metaforce.git
CGameOptionsTouchBar: Make use of [[maybe_unused]] where applicable
Silences unused parameter warnings
This commit is contained in:
parent
14e0067a97
commit
e1dfe9ff8e
|
@ -4,7 +4,8 @@ namespace urde {
|
||||||
|
|
||||||
CGameOptionsTouchBar::EAction CGameOptionsTouchBar::PopAction() { return EAction::None; }
|
CGameOptionsTouchBar::EAction CGameOptionsTouchBar::PopAction() { return EAction::None; }
|
||||||
void CGameOptionsTouchBar::GetSelection(int& left, int& right, int& value) { left = -1, right = -1, value = -1; }
|
void CGameOptionsTouchBar::GetSelection(int& left, int& right, int& value) { left = -1, right = -1, value = -1; }
|
||||||
void CGameOptionsTouchBar::SetSelection(int left, int right, int value) {}
|
void CGameOptionsTouchBar::SetSelection([[maybe_unused]] int left, [[maybe_used]] int right, [[maybe_used]] int value) {
|
||||||
|
}
|
||||||
|
|
||||||
#ifndef __APPLE__
|
#ifndef __APPLE__
|
||||||
std::unique_ptr<CGameOptionsTouchBar> NewGameOptionsTouchBar() { return std::make_unique<CGameOptionsTouchBar>(); }
|
std::unique_ptr<CGameOptionsTouchBar> NewGameOptionsTouchBar() { return std::make_unique<CGameOptionsTouchBar>(); }
|
||||||
|
|
Loading…
Reference in New Issue