From 7071fbc7d80f7bd3af74572a2cf15383f84442aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Thu, 10 Sep 2015 12:09:08 +0200 Subject: [PATCH] Fixed unused argument warning in swap_resources(). Fixed changelog copy-paste error. --- doc/container.qbk | 10 ---------- include/boost/container/vector.hpp | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/doc/container.qbk b/doc/container.qbk index 9253485..8a7616b 100644 --- a/doc/container.qbk +++ b/doc/container.qbk @@ -1222,16 +1222,6 @@ use [*Boost.Container]? There are several reasons for that: [endsect] -[section:release_notes_boost_1_60_00 Boost 1.60 Release] - -* [@https://github.com/boostorg/container/pull/26 GitHub #26: ['Fix bug in stable_vector::capacity()]]. Thanks to timsong-cpp/Arindam Mukerjee. -* [@https://github.com/boostorg/container/pull/27 GitHub #27: ['fix stable_vector's index_of's doxygen comment]]. Thanks to kariya-mitsuru. -* [@https://svn.boost.org/trac/boost/ticket/11380 Trac #11380: ['"Container library std forward declarations incorrect in std_fwd.hpp on libc++ with gcc"]]. -* [@https://svn.boost.org/trac/boost/ticket/11388 Trac #11388: ['"boost::container::list::emplace_back broken on Visual Studio 2010"]]. -* [@https://svn.boost.org/trac/boost/ticket/11339 Trac #11339: ['"VC12 LNK2005 error with boost::container::adaptive_pool"]]. - -[endsect] - [section:release_notes_boost_1_59_00 Boost 1.59 Release] * [@https://github.com/boostorg/container/pull/26 GitHub #26: ['Fix bug in stable_vector::capacity()]]. Thanks to timsong-cpp/Arindam Mukerjee. 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(); }