neteja cppcheck (44 → 0) i aïllar impls de tercers
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
|
||||
#include <algorithm> // Para std::clamp
|
||||
#include <algorithm> // Para std::clamp, std::ranges::copy
|
||||
#include <array> // Para std::array
|
||||
#include <iterator> // Para std::back_inserter
|
||||
#include <random> // Para generador aleatorio
|
||||
|
||||
#include "core/audio/audio.hpp" // Para Audio
|
||||
@@ -245,9 +246,7 @@ void Logo::initColors() {
|
||||
10,
|
||||
12,
|
||||
15};
|
||||
for (const auto& color : COLORS) {
|
||||
color_.push_back(color);
|
||||
}
|
||||
std::ranges::copy(COLORS, std::back_inserter(color_));
|
||||
}
|
||||
|
||||
// Crea los sprites de cada linea
|
||||
|
||||
Reference in New Issue
Block a user