summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@signal-slot.co.jp>2021-06-30 22:38:41 +0900
committerTasuku Suzuki <tasuku.suzuki@signal-slot.co.jp>2021-07-01 06:48:21 +0900
commitab6bccdd8121c773883794fe86d0a157d1f9d4d6 (patch)
treec348986327f322d993c1973208236ffac4de2202 /src/corelib/thread
parent38448b19a1c61cb5d5592e73efdbc4750bb835b2 (diff)
Put Q_DISABLE_COPY(QMutex) back when features.thread is unavailable
Revert a part of d3638e18d396f1935804908da717ca5cb97f2eda because the change was not needed Task-number: QTBUG-94407 Pick-to: 6.2 Change-Id: I7cf0969d6ecc4078d38b4241ffe7d24273a6d412 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/thread')
-rw-r--r--src/corelib/thread/qmutex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/thread/qmutex.h b/src/corelib/thread/qmutex.h
index 8265086eb7..3e861ca0cb 100644
--- a/src/corelib/thread/qmutex.h
+++ b/src/corelib/thread/qmutex.h
@@ -305,6 +305,9 @@ public:
Q_UNUSED(timePoint);
return true;
}
+
+private:
+ Q_DISABLE_COPY(QMutex)
};
class QRecursiveMutex : public QMutex {};