Fix implicit default constructor warning

This commit is contained in:
Cameron Gutman 2023-10-02 17:42:35 -05:00
parent 49e0679864
commit 6fa53691aa

View file

@ -14,7 +14,7 @@ public:
CopySafeReadWriteLock() = default;
// Don't actually copy the QReadWriteLock
CopySafeReadWriteLock(const CopySafeReadWriteLock&) {}
CopySafeReadWriteLock(const CopySafeReadWriteLock&) : QReadWriteLock() {}
CopySafeReadWriteLock& operator=(const CopySafeReadWriteLock &) { return *this; }
};