clang-tidy

This commit is contained in:
2026-04-07 12:06:41 +02:00
parent 39170a086e
commit 5462b31f96
12 changed files with 63 additions and 64 deletions

View File

@@ -240,7 +240,7 @@ void Text::writeColoredMono(int x, int y, const std::string& text, Uint8 color,
}
// Obtiene la longitud en pixels de una cadena monoespaciada
auto Text::lengthMono(const std::string& text, int cell_w) const -> int {
auto Text::lengthMono(const std::string& text, int cell_w) -> int {
size_t pos = 0;
int count = 0;
while (pos < text.size()) {