diff options
Diffstat (limited to 'src/corelib/thread/qthreadpool.h')
-rw-r--r-- | src/corelib/thread/qthreadpool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qthreadpool.h b/src/corelib/thread/qthreadpool.h index 0d143574cf..cb0896cb16 100644 --- a/src/corelib/thread/qthreadpool.h +++ b/src/corelib/thread/qthreadpool.h @@ -95,7 +95,7 @@ public: bool contains(const QThread *thread) const; - Q_REQUIRED_RESULT bool tryTake(QRunnable *runnable); + [[nodiscard]] bool tryTake(QRunnable *runnable); }; QT_END_NAMESPACE |