mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-13 22:12:15 -07:00
Mark functions as [[nodiscard]]
Took 31 minutes
This commit is contained in:
parent
1fb08b76f5
commit
ec62f61be9
64 changed files with 258 additions and 255 deletions
|
|
@ -39,7 +39,7 @@ class DlgCreateToken : public QDialog
|
|||
Q_OBJECT
|
||||
public:
|
||||
explicit DlgCreateToken(const QStringList &_predefinedTokens, QWidget *parent = nullptr);
|
||||
TokenInfo getTokenInfo() const;
|
||||
[[nodiscard]] TokenInfo getTokenInfo() const;
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent *event) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue