Simplify a redundant assert condition

This commit is contained in:
Gennaro Prota
2025-08-11 11:43:52 +02:00
parent 8de7c429c3
commit 2d33df8f43

View File

@@ -1368,7 +1368,7 @@ template< typename Block, typename Allocator >
const Block &
dynamic_bitset< Block, Allocator >::m_highest_block() const
{
BOOST_ASSERT( size() > 0 && num_blocks() > 0 );
BOOST_ASSERT( num_blocks() > 0 );
return m_bits.back();
}