Mark another operator bool as explicit
This commit is contained in:
parent
246412bfa6
commit
30c5c43e56
@ -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); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user