mirror of
https://github.com/boostorg/dynamic_bitset.git
synced 2026-01-19 04:12:09 +00:00
Add a missing const qualifier
This commit is contained in:
@@ -931,7 +931,7 @@ template< typename Block, typename Allocator >
|
||||
bool
|
||||
dynamic_bitset< Block, Allocator >::intersects( const dynamic_bitset & b ) const
|
||||
{
|
||||
size_type common_blocks = num_blocks() < b.num_blocks()
|
||||
const size_type common_blocks = num_blocks() < b.num_blocks()
|
||||
? num_blocks()
|
||||
: b.num_blocks();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user