Try to clear up an MSVC warning

This commit is contained in:
Chris Robinson
2018-11-17 21:48:54 -08:00
parent 20e62aa959
commit 8f6e0f97ec
+1 -1
View File
@@ -952,7 +952,7 @@ public:
return *this;
}
operator bool() const noexcept { return mCtx; }
operator bool() const noexcept { return mCtx != nullptr; }
ALCcontext* operator->() noexcept { return mCtx; }
ALCcontext* get() noexcept { return mCtx; }