forked from boostorg/smart_ptr
atomic_count_std_atomic: static_cast v to std::int_least32_t
* fix implicit conversion warning
This commit is contained in:
@ -26,7 +26,7 @@ class atomic_count
|
||||
{
|
||||
public:
|
||||
|
||||
explicit atomic_count( long v ): value_( v )
|
||||
explicit atomic_count( long v ): value_( static_cast< std::int_least32_t >( v ) )
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user