neteja clang-tidy

This commit is contained in:
2026-05-16 22:47:41 +02:00
parent 17341f923d
commit a903343385
40 changed files with 1246 additions and 1384 deletions
+3 -4
View File
@@ -5,7 +5,6 @@
#include <memory> // Para unique_ptr, allocator, shared_ptr, operator==, make_unique
#include "core/input/input.hpp" // Para Input
#include "core/input/input_types.hpp" // Para InputAction
#include "core/locale/lang.hpp" // Para getText
#include "core/resources/resource.hpp" // Para Resource
#include "game/options.hpp" // Para Gamepad
@@ -17,9 +16,9 @@ DefineButtons::DefineButtons()
: input_(Input::get()) {
clearButtons();
const auto gamepads = input_->getGamepads();
controller_names_.reserve(gamepads.size());
std::ranges::transform(gamepads, std::back_inserter(controller_names_), Input::getControllerName);
const auto GAMEPADS = input_->getGamepads();
controller_names_.reserve(GAMEPADS.size());
std::ranges::transform(GAMEPADS, std::back_inserter(controller_names_), Input::getControllerName);
// Crear la ventana de mensaje
WindowMessage::Config config(param.service_menu.window_message);