Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84405 - trunk/boost/circular_buffer
From: marshall_at_[hidden]
Date: 2013-05-21 14:48:06


Author: marshall
Date: 2013-05-21 14:48:05 EDT (Tue, 21 May 2013)
New Revision: 84405
URL: http://svn.boost.org/trac/boost/changeset/84405

Log:
Applied patch from #8032
Text files modified:
   trunk/boost/circular_buffer/base.hpp | 2 +-
   trunk/boost/circular_buffer/space_optimized.hpp | 4 ++--
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/circular_buffer/base.hpp
==============================================================================
--- trunk/boost/circular_buffer/base.hpp (original)
+++ trunk/boost/circular_buffer/base.hpp 2013-05-21 14:48:05 EDT (Tue, 21 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: trunk/boost/circular_buffer/space_optimized.hpp
==============================================================================
--- trunk/boost/circular_buffer/space_optimized.hpp (original)
+++ trunk/boost/circular_buffer/space_optimized.hpp 2013-05-21 14:48:05 EDT (Tue, 21 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