aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-15 06:27:27 -0800
committerChris Robinson <[email protected]>2022-02-15 06:27:27 -0800
commit30c5c43e56047d5965ae2ddcfab32b2f0b3e64fb (patch)
treeea2d7ff4ffaf51f286af49c7cb85affb305c623d /alc/backends
parent246412bfa6c7aa7329a3115afd26aff7709142b8 (diff)
Mark another operator bool as explicit
Diffstat (limited to 'alc/backends')
-rw-r--r--alc/backends/pipewire.cpp2
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); }