fix(game): mark getFront method as [[nodiscard]]

This commit is contained in:
Kieran Kihn
2025-11-17 14:39:34 +08:00
parent 0935b33605
commit 6a148a7e57

View File

@@ -87,7 +87,7 @@ namespace UNO::GAME {
/**
* @return 牌堆中最上方的牌
*/
Card getFront() const;
[[nodiscard]] Card getFront() const;
};
/**