mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 14:04:26 +02:00
Container: fix minor warning.
[SVN r83984]
This commit is contained in:
@@ -114,7 +114,7 @@ class constant_iterator
|
|||||||
const T& operator*() const
|
const T& operator*() const
|
||||||
{ return dereference(); }
|
{ return dereference(); }
|
||||||
|
|
||||||
const T& operator[] (Difference n) const
|
const T& operator[] (Difference ) const
|
||||||
{ return dereference(); }
|
{ return dereference(); }
|
||||||
|
|
||||||
const T* operator->() const
|
const T* operator->() const
|
||||||
@@ -335,7 +335,7 @@ class repeat_iterator
|
|||||||
T& operator*() const
|
T& operator*() const
|
||||||
{ return dereference(); }
|
{ return dereference(); }
|
||||||
|
|
||||||
T& operator[] (Difference n) const
|
T& operator[] (Difference ) const
|
||||||
{ return dereference(); }
|
{ return dereference(); }
|
||||||
|
|
||||||
T *operator->() const
|
T *operator->() const
|
||||||
|
@@ -530,7 +530,7 @@ struct vector_alloc_holder<Allocator, container_detail::integral_constant<unsign
|
|||||||
this->priv_swap_members_impl(x);
|
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
|
{ //Containers with version 0 allocators can't be moved without move elements one by one
|
||||||
throw_bad_alloc();
|
throw_bad_alloc();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user