Avoid -Wsign-conversion warning

This commit is contained in:
Peter Dimov
2023-06-25 13:47:24 +03:00
parent 5e7596ef06
commit 13be03abf8

View File

@ -137,7 +137,7 @@ public:
long use_count() const // nothrow
{
return atomic_load( &use_count_ );
return static_cast<long>( atomic_load( &use_count_ ) );
}
};