Reduce usage of [[nodiscard]] attributes
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
9559204c8f
commit
29d73a474f
64 changed files with 323 additions and 326 deletions
|
@ -50,12 +50,12 @@ class LocalTexturePackParseTask : public Task {
|
|||
public:
|
||||
LocalTexturePackParseTask(int token, TexturePack& rp);
|
||||
|
||||
[[nodiscard]] bool canAbort() const override { return true; }
|
||||
bool canAbort() const override { return true; }
|
||||
bool abort() override;
|
||||
|
||||
void executeTask() override;
|
||||
|
||||
[[nodiscard]] int token() const { return m_token; }
|
||||
int token() const { return m_token; }
|
||||
|
||||
private:
|
||||
int m_token;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue