Use boost::size to allow accessing ring size via range_size method

This commit is contained in:
Yuriy Chernyshov 2023-08-28 13:10:18 +03:00 committed by Barend Gehrels
parent 0ee3d33de5
commit 1c97e9fe34

View File

@ -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