Remove extra argument to atomic_dcrement.

[SVN r27994]
This commit is contained in:
Rene Rivera
2005-04-06 00:32:09 +00:00
parent 361a7c3fd0
commit 3ebc9b8f0b
2 changed files with 4 additions and 4 deletions

View File

@ -121,7 +121,7 @@ public:
void release() // nothrow
{
if( atomic_decrement( &use_count_, -1 ) == 0 )
if( atomic_decrement( &use_count_ ) == 0 )
{
dispose();
weak_release();
@ -135,7 +135,7 @@ public:
void weak_release() // nothrow
{
if( atomic_decrement( &weak_count_, -1 ) == 0 )
if( atomic_decrement( &weak_count_ ) == 0 )
{
destroy();
}

View File

@ -148,7 +148,7 @@ public:
void release() // nothrow
{
if( atomic_decrement( &use_count_, -1 ) == 0 )
if( atomic_decrement( &use_count_ ) == 0 )
{
dispose();
weak_release();
@ -162,7 +162,7 @@ public:
void weak_release() // nothrow
{
if( atomic_decrement( &weak_count_, -1 ) == 0 )
if( atomic_decrement( &weak_count_ ) == 0 )
{
destroy();
}