diff options
author | Tasuku Suzuki <tasuku.suzuki@signal-slot.co.jp> | 2021-06-30 22:38:41 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@signal-slot.co.jp> | 2021-07-01 06:48:21 +0900 |
commit | ab6bccdd8121c773883794fe86d0a157d1f9d4d6 (patch) | |
tree | c348986327f322d993c1973208236ffac4de2202 /src/corelib/thread | |
parent | 38448b19a1c61cb5d5592e73efdbc4750bb835b2 (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.h | 3 |
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 {}; |