diff options
author | Chris Robinson <[email protected]> | 2022-02-15 06:27:27 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-15 06:27:27 -0800 |
commit | 30c5c43e56047d5965ae2ddcfab32b2f0b3e64fb (patch) | |
tree | ea2d7ff4ffaf51f286af49c7cb85affb305c623d /alc/backends | |
parent | 246412bfa6c7aa7329a3115afd26aff7709142b8 (diff) |
Mark another operator bool as explicit
Diffstat (limited to 'alc/backends')
-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 989d1a40..5753d6ff 100644 --- a/alc/backends/pipewire.cpp +++ b/alc/backends/pipewire.cpp @@ -342,7 +342,7 @@ public: return *this; } - operator bool() const noexcept { return mLoop != nullptr; } + explicit operator bool() const noexcept { return mLoop != nullptr; } auto start() const { return pw_thread_loop_start(mLoop); } auto stop() const { return pw_thread_loop_stop(mLoop); } |