Fix build without features.thread
Change-Id: I233808be77dbf1930ebf65b6f23298414eab1da7 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
1d59fe368a
commit
d3638e18d3
@ -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 {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user