fix typo in Optional::operator bool(): needs to be !!, not ! !
This commit is contained in:
@@ -193,7 +193,7 @@ namespace vk
|
||||
|
||||
operator RefType*() const { return m_ptr; }
|
||||
RefType const* operator->() const { return m_ptr; }
|
||||
explicit operator bool() const { return !m_ptr; }
|
||||
explicit operator bool() const { return !!m_ptr; }
|
||||
|
||||
private:
|
||||
RefType *m_ptr;
|
||||
|
||||
Reference in New Issue
Block a user