justificacio NOLINTs i neteja obsolet a Title::~Title

This commit is contained in:
2026-05-17 21:26:36 +02:00
parent c7b88cd05f
commit 058f9d7630
3 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -61,7 +61,8 @@ class Room {
// Constructor y destructor
Room(const std::string& room_path, std::shared_ptr<Scoreboard::Data> data);
~Room(); // NOLINT(modernize-use-equals-default, performance-trivially-destructible)
// NOLINTNEXTLINE(modernize-use-equals-default,performance-trivially-destructible) -- destructor definit al .cpp perquè la classe té unique_ptr a tipus forward-declared; no es pot fer = default ni eliminar a l'header sense incloure tots els headers transitivament.
~Room();
// --- Funciones ---
[[nodiscard]] auto getNumber() const -> const std::string& { return number_; }