forked from boostorg/smart_ptr
BOOST_ASSERTs added (SF patch 1612733 by 'Baraclese')
[SVN r36316]
This commit is contained in:
1 parent
b440e85452
commit
1c3813ce52
1 file changed
+2
@@ -112,11 +112,13 @@ public:
|
||||
|
||||
T & operator*() const
|
||||
{
|
||||
BOOST_ASSERT( p_ != 0 );
|
||||
return *p_;
|
||||
}
|
||||
|
||||
T * operator->() const
|
||||
{
|
||||
BOOST_ASSERT( p_ != 0 );
|
||||
return p_;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user