diff --git a/src/corelib/thread/qmutex.h b/src/corelib/thread/qmutex.h index 5f3b6d1b712..8265086eb74 100644 --- a/src/corelib/thread/qmutex.h +++ b/src/corelib/thread/qmutex.h @@ -285,7 +285,7 @@ class QMutex { public: - inline constexpr explicit QMutex() noexcept { } + constexpr QMutex() noexcept { } inline void lock() noexcept {} inline bool tryLock(int timeout = 0) noexcept { Q_UNUSED(timeout); return true; } @@ -305,9 +305,6 @@ public: Q_UNUSED(timePoint); return true; } - -private: - Q_DISABLE_COPY(QMutex) }; class QRecursiveMutex : public QMutex {};