fix typo in Optional::operator bool(): needs to be !!, not ! !

This commit is contained in:
Andreas Süßenbach
2016-03-23 17:54:55 +01:00
parent 900744a8ca
commit e30ca6ffa2
2 changed files with 2 additions and 2 deletions

View File

@@ -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;