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() ); }