Mes recomanacions de cppcheck aplicades

Abans de tocar unes cosetes de strings buits
This commit is contained in:
2024-10-13 13:49:00 +02:00
parent b2122ac239
commit 46b19ee82f
22 changed files with 995 additions and 1062 deletions

View File

@@ -408,12 +408,12 @@ void Intro::render()
Screen::get()->clean(bg_color);
// Dibuja los objetos
for (auto &bitmap : bitmaps_)
for (const auto &bitmap : bitmaps_)
{
bitmap->render();
}
for (auto &text : texts_)
for (const auto &text : texts_)
{
text->render();
}