summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qmutex.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2023-04-27 07:57:27 -0700
committerMarc Mutz <marc.mutz@qt.io>2023-05-04 19:41:48 +0000
commitc98d70ef7baafe18199155a3e38d95a37f054853 (patch)
tree97d401e374c21f0510f976b97c282e6a6719eeb0 /src/corelib/thread/qmutex.h
parent6ef5e186a99d365471232581df89163b8380ec93 (diff)
QMutex: remove unused tst_QMutex forward declaration
Commit d4b206b246caf9b49110526585693ab629609d99, which split QRecursiveMutex from QMutex and thus rewrote a lot of the tests, removed the friendship, but not the forward-declaration. Pick-to: 6.5 6.2 Change-Id: I6f518d59e63249ddbf43fffd1759d28f1547ec9f Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/thread/qmutex.h')
-rw-r--r--src/corelib/thread/qmutex.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/corelib/thread/qmutex.h b/src/corelib/thread/qmutex.h
index be62dc01d6..e185041b13 100644
--- a/src/corelib/thread/qmutex.h
+++ b/src/corelib/thread/qmutex.h
@@ -12,11 +12,8 @@
#include <chrono>
#include <limits>
-class tst_QMutex;
-
QT_BEGIN_NAMESPACE
-
#if QT_CONFIG(thread) || defined(Q_QDOC)
#if defined(Q_OS_LINUX) || defined(Q_OS_WIN) // these platforms use futex