summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/thread/qmutex.cpp13
-rw-r--r--src/corelib/thread/qmutex.h2
2 files changed, 0 insertions, 15 deletions
diff --git a/src/corelib/thread/qmutex.cpp b/src/corelib/thread/qmutex.cpp
index 9bfd50f2d91..7f052feaa50 100644
--- a/src/corelib/thread/qmutex.cpp
+++ b/src/corelib/thread/qmutex.cpp
@@ -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
diff --git a/src/corelib/thread/qmutex.h b/src/corelib/thread/qmutex.h
index 8ac6088c129..c1c87100e69 100644
--- a/src/corelib/thread/qmutex.h
+++ b/src/corelib/thread/qmutex.h
@@ -94,8 +94,6 @@ public:
// Lockable concept
bool try_lock() noexcept { return tryLock(); }
-
- bool isRecursive() noexcept; //### Qt6: remove me
bool isRecursive() const noexcept;
private: