Avoid an explicit static_cast to bool
This commit is contained in:
parent
d10301c209
commit
20e62aa959
@ -952,7 +952,7 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
operator bool() const noexcept { return static_cast<bool>(mCtx); }
|
||||
operator bool() const noexcept { return mCtx; }
|
||||
|
||||
ALCcontext* operator->() noexcept { return mCtx; }
|
||||
ALCcontext* get() noexcept { return mCtx; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user