Remove the now unnecessary allocate hint parameter

This commit is contained in:
Glen Fernandes
2017-03-01 08:57:58 -05:00
parent 7570340d70
commit d1bb87d34e

View File

@ -352,8 +352,8 @@ sp_array_default(T* storage, std::size_t size)
template<class T, class U>
struct sp_less_align {
enum {
value = ((boost::alignment_of<T>::value) <
boost::alignment_of<U>::value)
value = (boost::alignment_of<T>::value) <
(boost::alignment_of<U>::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<value_type, type>(count);
std::size_t tail = sp_align<T, type>(size_);