From f5e678fc70610521531d300ec08ce09c654943c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 22 Sep 2014 22:31:34 +0200 Subject: [PATCH] Remove warning of unused variable. --- include/boost/container/vector.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/container/vector.hpp b/include/boost/container/vector.hpp index 13f420f..dee986c 100644 --- a/include/boost/container/vector.hpp +++ b/include/boost/container/vector.hpp @@ -1591,6 +1591,7 @@ class vector { BOOST_ASSERT(container_detail::is_input_iterator::value || num == static_cast(std::distance(first, last))); + (void)last; container_detail::insert_range_proxy proxy(first); return this->priv_forward_range_insert(vector_iterator_get_ptr(pos), num, proxy, alloc_version()); }