Fixed typo in CompleteSmartPtr::operator unspecified_bool_type() const

This commit is contained in:
Ion Gaztañaga
2015-10-18 22:00:29 +02:00
parent 4ef2cae00d
commit 3c818c66a4

View File

@ -76,7 +76,7 @@ class CompleteSmartPtr
{ return *ptr_; } { return *ptr_; }
operator unspecified_bool_type() const operator unspecified_bool_type() const
{ return m_ptr? &CompleteSmartPtr::unspecified_bool_type_func : 0; } { return ptr_? &CompleteSmartPtr::unspecified_bool_type_func : 0; }
template<class U> template<class U>
static CompleteSmartPtr static_cast_from(const CompleteSmartPtr<U> &uptr) static CompleteSmartPtr static_cast_from(const CompleteSmartPtr<U> &uptr)