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
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-30 21:48:30 +0000
commite6a825565e0be87840d5b7ca274e30b4f0d8ee0a (patch)
tree42d83e697873f19d1dc6db7a5c3486d2752b6975 /src/corelib/thread
parent25faf33ebd08cdd4e3a9066f6284ecbc3c6e27d6 (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 Change-Id: I7cf0969d6ecc4078d38b4241ffe7d24273a6d412 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit ab6bccdd8121c773883794fe86d0a157d1f9d4d6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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 {};