forked from boostorg/smart_ptr
Avoid -Wsign-conversion warning
This commit is contained in:
1 parent
5e7596ef06
commit
13be03abf8
1 file changed
+1
-1
@@ -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