diff options
Diffstat (limited to 'src/corelib/thread/qthread.cpp')
-rw-r--r-- | src/corelib/thread/qthread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/thread/qthread.cpp b/src/corelib/thread/qthread.cpp index e3ba1e4449..e92be64dfa 100644 --- a/src/corelib/thread/qthread.cpp +++ b/src/corelib/thread/qthread.cpp @@ -925,7 +925,7 @@ bool QThread::isInterruptionRequested() const \sa start() */ -#ifdef QTHREAD_HAS_CREATE +#if QT_CONFIG(cxx11_future) class QThreadCreateThread : public QThread { public: @@ -947,7 +947,7 @@ QThread *QThread::createThreadImpl(std::future<void> &&future) { return new QThreadCreateThread(std::move(future)); } -#endif // QTHREAD_HAS_CREATE +#endif // QT_CONFIG(cxx11_future) /*! \class QDaemonThread |