From e17aa29592df4feea8ee030b01ccd1a53294e08a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sat, 25 Jul 2026 13:53:19 +0200 Subject: [PATCH] Always unroll --- include/boost/container/experimental/segmented_find.hpp | 2 +- include/boost/container/experimental/segmented_find_if.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/container/experimental/segmented_find.hpp b/include/boost/container/experimental/segmented_find.hpp index 22c9109..a40a685 100644 --- a/include/boost/container/experimental/segmented_find.hpp +++ b/include/boost/container/experimental/segmented_find.hpp @@ -37,7 +37,7 @@ typename algo_enable_if_c< !Tag::value || is_sentinel::value, InpIter>::type segmented_find_dispatch(InpIter first, Sent last, const T& BOOST_RESTRICT value, Tag, Cat) { - BOOST_CONTAINER_SEGMENTED_UNROLL(4) + BOOST_CONTAINER_UNROLL(4) for(; first != last; ++first) if(*first == value) break; diff --git a/include/boost/container/experimental/segmented_find_if.hpp b/include/boost/container/experimental/segmented_find_if.hpp index 0b99935..c218820 100644 --- a/include/boost/container/experimental/segmented_find_if.hpp +++ b/include/boost/container/experimental/segmented_find_if.hpp @@ -37,7 +37,7 @@ typename algo_enable_if_c< !Tag::value || is_sentinel::value, InpIter>::type segmented_find_if_dispatch(InpIter first, Sent last, Pred pred, Tag, Cat) { - BOOST_CONTAINER_SEGMENTED_UNROLL(4) + BOOST_CONTAINER_UNROLL(4) for(; first != last; ++first) if(pred(*first)) break;