Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83984 - in trunk/boost/container: . detail
From: vicente.botet_at_[hidden]
Date: 2013-04-20 10:04:01


Author: viboes
Date: 2013-04-20 10:04:00 EDT (Sat, 20 Apr 2013)
New Revision: 83984
URL: http://svn.boost.org/trac/boost/changeset/83984

Log:
Container: fix minor warning.
Text files modified:
   trunk/boost/container/detail/iterators.hpp | 4 ++--
   trunk/boost/container/vector.hpp | 2 +-
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/container/detail/iterators.hpp
==============================================================================
--- trunk/boost/container/detail/iterators.hpp (original)
+++ trunk/boost/container/detail/iterators.hpp 2013-04-20 10:04:00 EDT (Sat, 20 Apr 2013)
@@ -114,7 +114,7 @@
    const T& operator*() const
    { return dereference(); }
 
- const T& operator[] (Difference n) const
+ const T& operator[] (Difference ) const
    { return dereference(); }
 
    const T* operator->() const
@@ -335,7 +335,7 @@
    T& operator*() const
    { return dereference(); }
 
- T& operator[] (Difference n) const
+ T& operator[] (Difference ) const
    { return dereference(); }
 
    T *operator->() const

Modified: trunk/boost/container/vector.hpp
==============================================================================
--- trunk/boost/container/vector.hpp (original)
+++ trunk/boost/container/vector.hpp 2013-04-20 10:04:00 EDT (Sat, 20 Apr 2013)
@@ -530,7 +530,7 @@
       this->priv_swap_members_impl(x);
    }
 
- void move_from_empty(vector_alloc_holder &x)
+ void move_from_empty(vector_alloc_holder &)
    { //Containers with version 0 allocators can't be moved without move elements one by one
       throw_bad_alloc();
    }


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