mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-29 20:37:13 +02:00
Avoid -Wsign-conversion warning
This commit is contained in:
@ -137,7 +137,7 @@ public:
|
||||
|
||||
long use_count() const // nothrow
|
||||
{
|
||||
return atomic_load( &use_count_ );
|
||||
return static_cast<long>( atomic_load( &use_count_ ) );
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user