From 5e6b3a9702b650fbf14139065917d7d75556528e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 6 Oct 2024 20:32:29 +0300 Subject: [PATCH] Remove use of boost::type_identity --- include/boost/smart_ptr/allocate_unique.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/boost/smart_ptr/allocate_unique.hpp b/include/boost/smart_ptr/allocate_unique.hpp index 13c89db..969d547 100644 --- a/include/boost/smart_ptr/allocate_unique.hpp +++ b/include/boost/smart_ptr/allocate_unique.hpp @@ -15,7 +15,6 @@ Distributed under the Boost Software License, Version 1.0. #include #include #include -#include #include #include #include @@ -371,7 +370,7 @@ allocate_unique(const A& alloc, Args&&... args) template inline typename std::enable_if::value, std::unique_ptr > >::type -allocate_unique(const A& alloc, typename type_identity::type&& value) +allocate_unique(const A& alloc, typename detail::sp_type_identity::type&& value) { detail::sp_alloc_make c(alloc, 1); boost::alloc_construct(c.state(), c.get(), std::move(value));