Skip to content

Commit

Permalink
Use boost::size to allow accessing ring size via range_size method
Browse files Browse the repository at this point in the history
  • Loading branch information
georgthegreat committed Sep 8, 2023
1 parent 92c7462 commit e690256
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ struct traversal_ring_creator
if (! m_trav.select_turn(start_turn_index, start_op_index,
turn_index, op_index,
previous_op_index, previous_turn_index, previous_seg_id,
is_start, current_ring.size() > 1))
is_start, boost::size(current_ring) > 1))
{
return is_start
? traverse_error_no_next_ip_at_start
Expand Down

0 comments on commit e690256

Please sign in to comment.