Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84450 - branches/release/boost/circular_buffer
From: marshall_at_[hidden]
Date: 2013-05-23 14:45:32


Author: marshall
Date: 2013-05-23 14:45:31 EDT (Thu, 23 May 2013)
New Revision: 84450
URL: http://svn.boost.org/trac/boost/changeset/84450

Log:
Apply patch to release branch; Fixes #8032
Properties modified:
   branches/release/boost/circular_buffer/base.hpp (contents, props changed)
   branches/release/boost/circular_buffer/space_optimized.hpp (contents, props changed)
Text files modified:
   branches/release/boost/circular_buffer/base.hpp | 2 +-
   branches/release/boost/circular_buffer/space_optimized.hpp | 4 ++--
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: branches/release/boost/circular_buffer/base.hpp
==============================================================================
--- branches/release/boost/circular_buffer/base.hpp (original)
+++ branches/release/boost/circular_buffer/base.hpp 2013-05-23 14:45:31 EDT (Thu, 23 May 2013)
@@ -2316,7 +2316,7 @@
     }
 
     //! Specialized method for swapping the allocator.
- void swap_allocator(circular_buffer<T, Alloc>& cb, const true_type&) {
+ void swap_allocator(circular_buffer<T, Alloc>&, const true_type&) {
         // Swap is not needed because allocators have no state.
     }
 

Modified: branches/release/boost/circular_buffer/space_optimized.hpp
==============================================================================
--- branches/release/boost/circular_buffer/space_optimized.hpp (original)
+++ branches/release/boost/circular_buffer/space_optimized.hpp 2013-05-23 14:45:31 EDT (Thu, 23 May 2013)
@@ -1300,7 +1300,7 @@
 
     //! Specialized method for determining the initial capacity.
     template <class IntegralType>
- static size_type init_capacity(const capacity_type& capacity_ctrl, IntegralType n, IntegralType item,
+ static size_type init_capacity(const capacity_type& capacity_ctrl, IntegralType n, IntegralType,
         const true_type&) {
         return init_capacity(capacity_ctrl, static_cast<size_type>(n));
     }
@@ -1320,7 +1320,7 @@
 
     //! Specialized method for determining the initial capacity.
     template <class InputIterator>
- static size_type init_capacity(const capacity_type& capacity_ctrl, InputIterator first, InputIterator last,
+ static size_type init_capacity(const capacity_type& capacity_ctrl, InputIterator, InputIterator,
         const std::input_iterator_tag&) {
         return capacity_ctrl.capacity();
     }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk