Compare commits

..

1 Commits

Author SHA1 Message Date
Beman Dawes
4540bea6d5 Release 1.48.0 beta 1
[SVN r75132]
2011-10-27 15:04:52 +00:00
2 changed files with 3 additions and 3 deletions

View File

@@ -2316,7 +2316,7 @@ private:
}
//! Specialized method for swapping the allocator.
void swap_allocator(circular_buffer<T, Alloc>&, const true_type&) {
void swap_allocator(circular_buffer<T, Alloc>& cb, const true_type&) {
// Swap is not needed because allocators have no state.
}

View File

@@ -1300,7 +1300,7 @@ private:
//! Specialized method for determining the initial capacity.
template <class IntegralType>
static size_type init_capacity(const capacity_type& capacity_ctrl, IntegralType n, IntegralType,
static size_type init_capacity(const capacity_type& capacity_ctrl, IntegralType n, IntegralType item,
const true_type&) {
return init_capacity(capacity_ctrl, static_cast<size_type>(n));
}
@@ -1320,7 +1320,7 @@ private:
//! Specialized method for determining the initial capacity.
template <class InputIterator>
static size_type init_capacity(const capacity_type& capacity_ctrl, InputIterator, InputIterator,
static size_type init_capacity(const capacity_type& capacity_ctrl, InputIterator first, InputIterator last,
const std::input_iterator_tag&) {
return capacity_ctrl.capacity();
}