From 30c5c43e56047d5965ae2ddcfab32b2f0b3e64fb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 15 Feb 2022 06:27:27 -0800 Subject: Mark another operator bool as explicit --- alc/backends/pipewire.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3