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>bb10
parent
6e8985e357
commit
a8caae37ef
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -94,8 +94,6 @@ public:
|
|||
|
||||
// Lockable concept
|
||||
bool try_lock() noexcept { return tryLock(); }
|
||||
|
||||
bool isRecursive() noexcept; //### Qt6: remove me
|
||||
bool isRecursive() const noexcept;
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Reference in New Issue