From d1bb87d34e3275017074510445d95ec2300cc839 Mon Sep 17 00:00:00 2001 From: Glen Fernandes Date: Wed, 1 Mar 2017 08:57:58 -0500 Subject: [PATCH] Remove the now unnecessary allocate hint parameter --- include/boost/smart_ptr/allocate_shared_array.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/smart_ptr/allocate_shared_array.hpp b/include/boost/smart_ptr/allocate_shared_array.hpp index e7d0964..90c5614 100644 --- a/include/boost/smart_ptr/allocate_shared_array.hpp +++ b/include/boost/smart_ptr/allocate_shared_array.hpp @@ -352,8 +352,8 @@ sp_array_default(T* storage, std::size_t size) template struct sp_less_align { enum { - value = ((boost::alignment_of::value) < - boost::alignment_of::value) + value = (boost::alignment_of::value) < + (boost::alignment_of::value) }; }; @@ -664,7 +664,7 @@ public: size_(other.size_), result_(other.result_) { } - value_type* allocate(std::size_t count, const void* = 0) { + value_type* allocate(std::size_t count) { type_allocator allocator(allocator_); std::size_t head = sp_align(count); std::size_t tail = sp_align(size_);