eliminat warning

This commit is contained in:
2025-12-17 22:53:11 +01:00
parent f3abab7a13
commit bfb4903998
2 changed files with 1 additions and 3 deletions

View File

@@ -8,8 +8,7 @@
namespace Effects { namespace Effects {
GestorPuntuacioFlotant::GestorPuntuacioFlotant(SDL_Renderer* renderer) GestorPuntuacioFlotant::GestorPuntuacioFlotant(SDL_Renderer* renderer)
: renderer_(renderer), : text_(renderer) {
text_(renderer) {
// Inicialitzar tots els slots com inactius // Inicialitzar tots els slots com inactius
for (auto& pf : pool_) { for (auto& pf : pool_) {
pf.actiu = false; pf.actiu = false;

View File

@@ -38,7 +38,6 @@ class GestorPuntuacioFlotant {
int get_num_actius() const; int get_num_actius() const;
private: private:
SDL_Renderer* renderer_;
Graphics::VectorText text_; // Sistema de text vectorial Graphics::VectorText text_; // Sistema de text vectorial
// Pool de números flotants (màxim concurrent) // Pool de números flotants (màxim concurrent)