summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qmutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qmutex.h')
-rw-r--r--src/corelib/thread/qmutex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/thread/qmutex.h b/src/corelib/thread/qmutex.h
index dd718c4796..dd1455058d 100644
--- a/src/corelib/thread/qmutex.h
+++ b/src/corelib/thread/qmutex.h
@@ -89,7 +89,8 @@ private:
return d_ptr.testAndSetRelease(dummyLocked(), 0);
}
- bool lockInternal(int timeout = -1) QT_MUTEX_LOCK_NOEXCEPT;
+ void lockInternal() QT_MUTEX_LOCK_NOEXCEPT;
+ bool lockInternal(int timeout) QT_MUTEX_LOCK_NOEXCEPT;
void unlockInternal() Q_DECL_NOTHROW;
QBasicAtomicPointer<QMutexData> d_ptr;