forked from boostorg/exception
merging changes from trunk.
[SVN r63565]
This commit is contained in:
@ -28,11 +28,16 @@ test_type
|
||||
++count_;
|
||||
}
|
||||
|
||||
void
|
||||
bool
|
||||
release()
|
||||
{
|
||||
if( !--count_ )
|
||||
if( --count_ )
|
||||
return false;
|
||||
else
|
||||
{
|
||||
delete this;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user