From fb0854bd0871e116b5b8a7fd6258dce7349c4309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sat, 15 Sep 2018 00:50:51 +0200 Subject: [PATCH] Fix unused variable warning. --- include/boost/container/vector.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/container/vector.hpp b/include/boost/container/vector.hpp index c3baebc..46d9e7a 100644 --- a/include/boost/container/vector.hpp +++ b/include/boost/container/vector.hpp @@ -2182,7 +2182,7 @@ class vector this->priv_merge_in_new_buffer(first, n, comp, alloc_version()); } else{ - iterator pos(this->insert(this->cend(), first, last)); + this->insert(this->cend(), first, last); T *const raw_beg = this->priv_raw_begin(); T *const raw_end = this->priv_raw_end(); T *const raw_pos = raw_beg + s;