From 7c87ae7985e85fd6842fd43b159edbda86edd5a4 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 6 Oct 2024 19:19:48 +0300 Subject: [PATCH] Remove use of boost::remove_const --- include/boost/smart_ptr/make_local_shared_object.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/smart_ptr/make_local_shared_object.hpp b/include/boost/smart_ptr/make_local_shared_object.hpp index dac190d..21a582c 100644 --- a/include/boost/smart_ptr/make_local_shared_object.hpp +++ b/include/boost/smart_ptr/make_local_shared_object.hpp @@ -13,8 +13,8 @@ #include #include -#include #include +#include #include #include @@ -155,13 +155,13 @@ template typename boost::detail::lsp_if_not_array::type all template typename boost::detail::lsp_if_not_array::type make_local_shared( Args&&... args ) { - typedef typename boost::remove_const::type T2; + typedef typename std::remove_const::type T2; return boost::allocate_local_shared( std::allocator(), std::forward(args)... ); } template typename boost::detail::lsp_if_not_array::type make_local_shared_noinit() { - typedef typename boost::remove_const::type T2; + typedef typename std::remove_const::type T2; return boost::allocate_shared_noinit( std::allocator() ); }