fix: const a punters i refs (13 troballes)

This commit is contained in:
2026-05-14 20:47:34 +02:00
parent 1b40c90a00
commit f4dea6d39b
10 changed files with 15 additions and 15 deletions

View File

@@ -45,7 +45,7 @@ Cheevos::~Cheevos() {
// Inicializa los logros
void Cheevos::init() { // NOLINT(readability-convert-member-functions-to-static)
cheevos_list_.clear();
auto* loc = Locale::get();
const auto* loc = Locale::get();
cheevos_list_.emplace_back(Achievement{.id = 1, .caption = loc->get("achievements.c1"), .description = loc->get("achievements.d1"), .icon = 2});
cheevos_list_.emplace_back(Achievement{.id = 2, .caption = loc->get("achievements.c2"), .description = loc->get("achievements.d2"), .icon = 2});
cheevos_list_.emplace_back(Achievement{.id = 3, .caption = loc->get("achievements.c3"), .description = loc->get("achievements.d3"), .icon = 2});