From ab510fc3afe330fbdce917ccdba9c2660a39d47c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Fri, 27 Mar 2026 07:12:14 +0100 Subject: [PATCH] Remove BOOST_CONTAINER_NOINLINE as it pessimizes code generation because the compiler can't see if embers are modified --- include/boost/container/vector.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/container/vector.hpp b/include/boost/container/vector.hpp index 5706489..7b37c1c 100644 --- a/include/boost/container/vector.hpp +++ b/include/boost/container/vector.hpp @@ -3056,7 +3056,7 @@ private: #endif template - BOOST_CONTAINER_NOINLINE iterator priv_insert_forward_range_no_capacity + iterator priv_insert_forward_range_no_capacity (T *const raw_pos, const size_type n, const InsertionProxy insert_range_proxy, version_1) { const size_type new_cap = this->m_holder.template next_capacity(n);