diff options
author | Chris Robinson <[email protected]> | 2022-02-20 22:04:19 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-02-20 22:04:19 -0800 |
commit | 6c643e59e94ee14d6c8509d46a39ed6a53f72a76 (patch) | |
tree | 55d15ed688cf69ac0243911dcc01d938ad9560f4 /alc/backends/wasapi.cpp | |
parent | 023ad6320be73d1cee3facad1722e94d7258f2bb (diff) |
Make a couple more operator bools explicit
Diffstat (limited to 'alc/backends/wasapi.cpp')
-rw-r--r-- | alc/backends/wasapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp index 3d85e3e1..063fca98 100644 --- a/alc/backends/wasapi.cpp +++ b/alc/backends/wasapi.cpp @@ -463,7 +463,7 @@ struct WasapiProxy { const char *mParam; std::promise<HRESULT> mPromise; - operator bool() const noexcept { return mType != MsgType::QuitThread; } + explicit operator bool() const noexcept { return mType != MsgType::QuitThread; } }; static std::deque<Msg> mMsgQueue; static std::mutex mMsgQueueLock; |