CGameOptionsTouchBar: Make use of [[maybe_unused]] where applicable

Silences unused parameter warnings
This commit is contained in:
Lioncash 2020-04-23 20:34:03 -04:00
parent 14e0067a97
commit e1dfe9ff8e
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ namespace urde {
CGameOptionsTouchBar::EAction CGameOptionsTouchBar::PopAction() { return EAction::None; }
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__
std::unique_ptr<CGameOptionsTouchBar> NewGameOptionsTouchBar() { return std::make_unique<CGameOptionsTouchBar>(); }