Mark functions as [[nodiscard]]

Took 31 minutes
This commit is contained in:
Lukas Brübach 2025-11-15 11:24:39 +01:00
parent 1fb08b76f5
commit ec62f61be9
64 changed files with 258 additions and 255 deletions

View file

@ -124,7 +124,7 @@ public:
* @param cardName Name of the card.
* @return The preferred ExactCard.
*/
ExactCard getPreferredCard(const QString &cardName) const;
[[nodiscard]] ExactCard getPreferredCard(const QString &cardName) const;
/**
* @brief Returns the preferred printing of a card based on user preferences and set priority.