mirror of
https://github.com/boostorg/dynamic_bitset.git
synced 2026-01-19 16:22:10 +00:00
Shorten a condition in the tests of max_size()
This commit is contained in:
@@ -356,7 +356,7 @@ struct bitset_test
|
||||
{
|
||||
BOOST_TEST( b.max_size() > 0 );
|
||||
BOOST_TEST( b.max_size() >= b.size() );
|
||||
BOOST_TEST( b.max_size() / Bitset::bits_per_block <= std::allocator_traits< typename Bitset::allocator_type >::max_size( b.get_allocator() ) );
|
||||
BOOST_TEST( b.max_size() / bits_per_block <= std::allocator_traits< typename Bitset::allocator_type >::max_size( b.get_allocator() ) );
|
||||
}
|
||||
|
||||
// move constructor (absent from std::bitset)
|
||||
|
||||
Reference in New Issue
Block a user