clang-tidy (amb el fuck de que no feien bona parella el clang de macos i el tidy de llvm)
This commit is contained in:
@@ -198,13 +198,13 @@ void DefineButtons::incIndexButton() {
|
||||
}
|
||||
|
||||
auto DefineButtons::checkButtonNotInUse(SDL_GamepadButton button) -> bool {
|
||||
return std::ranges::all_of(buttons_, [button](const auto& b) {
|
||||
return std::ranges::all_of(buttons_, [button](const auto& b) -> auto {
|
||||
return b.button != button;
|
||||
});
|
||||
}
|
||||
|
||||
auto DefineButtons::checkTriggerNotInUse(int trigger_button) -> bool {
|
||||
return std::ranges::all_of(buttons_, [trigger_button](const auto& b) {
|
||||
return std::ranges::all_of(buttons_, [trigger_button](const auto& b) -> auto {
|
||||
return b.button != trigger_button;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user