From 2b032d0c7d072a95c96159ed75bcbf6d59bf6c8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Thu, 13 Aug 2026 03:03:46 +0200 Subject: [PATCH] Add missing type_identity to hub's constructor --- include/boost/container/hub.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/container/hub.hpp b/include/boost/container/hub.hpp index 93e59d7..2a596de 100644 --- a/include/boost/container/hub.hpp +++ b/include/boost/container/hub.hpp @@ -1078,7 +1078,8 @@ public: //! Requires: T is CopyInsertable into the hub. //! //! Complexity: Linear in il.size(). - hub(std::initializer_list il, const allocator_type& al_ = allocator_type()): + hub(std::initializer_list il + , const BOOST_CONTAINER_DOC1ST(allocator_type, dtl::type_identity_t) &al_ = allocator_type()): hub(il.begin(), il.end(), al_) {} //! Effects: Destroys all elements and deallocates all blocks.