forked from boostorg/container
Fixed unused argument warning in swap_resources().
Fixed changelog copy-paste error.
This commit is contained in:
@@ -645,7 +645,7 @@ struct vector_alloc_holder<Allocator, version_0>
|
||||
this->priv_deep_swap(x);
|
||||
}
|
||||
|
||||
void swap_resources(vector_alloc_holder &x) BOOST_NOEXCEPT_OR_NOTHROW
|
||||
void swap_resources(vector_alloc_holder &) BOOST_NOEXCEPT_OR_NOTHROW
|
||||
{ //Containers with version 0 allocators can't be moved without moving elements one by one
|
||||
throw_bad_alloc();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user