diff --git a/include/boost/container/vector.hpp b/include/boost/container/vector.hpp index e3aed38..e27419c 100644 --- a/include/boost/container/vector.hpp +++ b/include/boost/container/vector.hpp @@ -645,7 +645,7 @@ struct vector_alloc_holder 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(); }