diff options
Diffstat (limited to 'src/libs/utils/runextensions.h')
-rw-r--r-- | src/libs/utils/runextensions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/runextensions.h b/src/libs/utils/runextensions.h index 30590ade30c..49752234630 100644 --- a/src/libs/utils/runextensions.h +++ b/src/libs/utils/runextensions.h @@ -53,7 +53,7 @@ static testCallOperatorNo testCallOperator(...); template<typename T> struct hasCallOperator { - static const bool value = (sizeof(testCallOperator<T>(0)) == sizeof(testCallOperatorYes)); + static const bool value = (sizeof(testCallOperator<T>(nullptr)) == sizeof(testCallOperatorYes)); }; namespace Utils { @@ -379,7 +379,7 @@ private: class QTCREATOR_UTILS_EXPORT RunnableThread : public QThread { public: - explicit RunnableThread(QRunnable *runnable, QObject *parent = 0); + explicit RunnableThread(QRunnable *runnable, QObject *parent = nullptr); protected: void run() override; |