mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-28 11:53:11 -07:00
[Fix-Warnings] Mark const getters as [[nodiscard]] (#6365)
Took 45 minutes Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
@@ -13,7 +13,7 @@ public:
|
||||
}
|
||||
virtual unsigned int rand(int min, int max) = 0;
|
||||
QVector<int> makeNumbersVector(int n, int min, int max);
|
||||
double testRandom(const QVector<int> &numbers) const;
|
||||
[[nodiscard]] double testRandom(const QVector<int> &numbers) const;
|
||||
};
|
||||
|
||||
extern RNG_Abstract *rng;
|
||||
|
||||
Reference in New Issue
Block a user