Container: fix minor warning.

[SVN r83984]
This commit is contained in:
Vicente J. Botet Escriba
2013-04-20 14:04:00 +00:00
parent 9c97e11949
commit a40fd4d49d
2 changed files with 3 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ class constant_iterator
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 @@ class repeat_iterator
T& operator*() const
{ return dereference(); }
T& operator[] (Difference n) const
T& operator[] (Difference ) const
{ return dereference(); }
T *operator->() const

View File

@@ -530,7 +530,7 @@ struct vector_alloc_holder<Allocator, container_detail::integral_constant<unsign
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();
}