From fac414efd05d9144be45f64dca606dfda60ebbdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Fri, 7 Aug 2026 01:12:43 +0200 Subject: [PATCH] Remove unneeded check --- include/boost/container/experimental/segmented_copy_if.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/boost/container/experimental/segmented_copy_if.hpp b/include/boost/container/experimental/segmented_copy_if.hpp index dd2a73d..cebd089 100644 --- a/include/boost/container/experimental/segmented_copy_if.hpp +++ b/include/boost/container/experimental/segmented_copy_if.hpp @@ -91,9 +91,6 @@ segmented_copy_if_dst_bounded const difference_type block_size = 16; difference_type n = last - first; - if(BOOST_UNLIKELY(dst_first == dst_last)) - goto out_ret; - // Avoid destination check if both input and output ranges are big enough while(n >= block_size && static_cast(dst_last - dst_first) >= block_size) {