Merge pull request #69 from CJBussey/feature/fix_warning_implicit_conversion

atomic_count_std_atomic: static_cast v to std::int_least32_t
This commit is contained in:
Peter Dimov
2019-06-23 04:21:52 -07:00
committed by GitHub

View File

@ -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 ) )
{
}