Mark another operator bool as explicit

This commit is contained in:
Chris Robinson 2022-02-15 06:27:27 -08:00
parent 246412bfa6
commit 30c5c43e56

View File

@ -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); }