diff options
author | Chris Robinson <[email protected]> | 2022-01-26 15:07:54 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-01-26 15:07:54 -0800 |
commit | 0409180bb5633efadd89937324a328c7872f0a90 (patch) | |
tree | 27c144096d00647e56a1ef95f2844f969f3e7fce /alc/backends/pipewire.cpp | |
parent | 537aa2f442d72807498f9f1d402f3070a81665f3 (diff) |
Default the PipeWire lock's operator= instead of using the base
Diffstat (limited to 'alc/backends/pipewire.cpp')
-rw-r--r-- | alc/backends/pipewire.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/pipewire.cpp b/alc/backends/pipewire.cpp index efcbb8b4..d4e2503b 100644 --- a/alc/backends/pipewire.cpp +++ b/alc/backends/pipewire.cpp @@ -324,7 +324,7 @@ public: }; struct MainloopUniqueLock : public std::unique_lock<ThreadMainloop> { using std::unique_lock<ThreadMainloop>::unique_lock; - using std::unique_lock<ThreadMainloop>::operator=; + MainloopUniqueLock& operator=(MainloopUniqueLock&&) = default; auto wait() const -> void { pw_thread_loop_wait(mutex()->mLoop); } |