Skip to content

Commit d8c1fff

Browse files
committed
Add a missing const qualifier
1 parent 4b0ac58 commit d8c1fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/dynamic_bitset/impl/dynamic_bitset.ipp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ template< typename Block, typename Allocator >
931931
bool
932932
dynamic_bitset< Block, Allocator >::intersects( const dynamic_bitset & b ) const
933933
{
934-
size_type common_blocks = num_blocks() < b.num_blocks()
934+
const size_type common_blocks = num_blocks() < b.num_blocks()
935935
? num_blocks()
936936
: b.num_blocks();
937937

0 commit comments

Comments
 (0)