mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-15 21:22:40 +00:00
Fix implicit default constructor warning
This commit is contained in:
@@ -14,7 +14,7 @@ public:
|
|||||||
CopySafeReadWriteLock() = default;
|
CopySafeReadWriteLock() = default;
|
||||||
|
|
||||||
// Don't actually copy the QReadWriteLock
|
// Don't actually copy the QReadWriteLock
|
||||||
CopySafeReadWriteLock(const CopySafeReadWriteLock&) {}
|
CopySafeReadWriteLock(const CopySafeReadWriteLock&) : QReadWriteLock() {}
|
||||||
CopySafeReadWriteLock& operator=(const CopySafeReadWriteLock &) { return *this; }
|
CopySafeReadWriteLock& operator=(const CopySafeReadWriteLock &) { return *this; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user