summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/thread/qmutex.h5
1 files changed, 1 insertions, 4 deletions
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 {};