Remove redundant non-const QMutex::isRecursive()

As directed by ### Qt 6 comment.

Task-number: QTBUG-85700
Change-Id: Iae4179b017840efe4902de2b1529cf7ec0606865
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Edward Welbourne 2020-08-31 13:46:39 +02:00
parent 6e8985e357
commit a8caae37ef
2 changed files with 0 additions and 15 deletions

View File

@ -349,19 +349,6 @@ void QMutex::unlock() noexcept
unlockInternal();
}
/*!
\fn bool QMutex::isRecursive() const
\since 5.7
Returns \c true if the mutex is recursive.
*/
bool QBasicMutex::isRecursive() noexcept
{
return QT_PREPEND_NAMESPACE(isRecursive)(d_ptr.loadAcquire());
}
/*!
\since 5.7

View File

@ -94,8 +94,6 @@ public:
// Lockable concept
bool try_lock() noexcept { return tryLock(); }
bool isRecursive() noexcept; //### Qt6: remove me
bool isRecursive() const noexcept;
private: