From 1b221fcca0a65d52d60ac5cf78cfa019f13bc89d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sun, 29 Mar 2026 15:42:51 +0200 Subject: [PATCH] Fixed unrolling bug in segmented_count_if --- include/boost/container/experimental/segmented_count_if.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/container/experimental/segmented_count_if.hpp b/include/boost/container/experimental/segmented_count_if.hpp index c1cb343..20d7f1d 100644 --- a/include/boost/container/experimental/segmented_count_if.hpp +++ b/include/boost/container/experimental/segmented_count_if.hpp @@ -59,7 +59,7 @@ segmented_count_if_dispatch count += static_cast(pred(*first)); ++first; BOOST_FALLTHROUGH; case 1: - count += static_cast(pred(*first)); + count += static_cast(pred(*first)); ++first; BOOST_FALLTHROUGH; default: break;