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 authored and barendgehrels committed Sep 13, 2023
1 parent 0ee3d33 commit 1c97e9f
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 1c97e9f

Please sign in to comment.