clang-tidy

This commit is contained in:
2025-08-10 14:13:11 +02:00
parent 0204a8896a
commit c727cb6541
21 changed files with 255 additions and 209 deletions

View File

@@ -187,7 +187,7 @@ void DefineButtons::checkEnd() {
}
}
bool DefineButtons::isReadyToClose() const {
auto DefineButtons::isReadyToClose() const -> bool {
// Solo está listo para cerrar si:
// 1. Terminó
// 2. Ya mostró el mensaje
@@ -198,7 +198,7 @@ bool DefineButtons::isReadyToClose() const {
}
void DefineButtons::updateWindowMessage() {
if (!window_message_ || !options_gamepad_) {
if (!window_message_ || (options_gamepad_ == nullptr)) {
return;
}