Shorten a condition in the tests of max_size()

This commit is contained in:
Gennaro Prota
2025-09-24 12:35:51 +02:00
parent 7aca0a80fd
commit 286e721430

View File

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