From d7ad9185e8ba50bd7cd36a37f8e75a1b3a6a1b86 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Mon, 27 Jan 2020 12:14:03 +0100 Subject: [PATCH] spared one equal allocator swap --- include/boost/multi_index_container.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/multi_index_container.hpp b/include/boost/multi_index_container.hpp index beab1fe..6a4c4d4 100644 --- a/include/boost/multi_index_container.hpp +++ b/include/boost/multi_index_container.hpp @@ -384,7 +384,7 @@ public: } else{ multi_index_container y(boost::move(x),this->get_allocator()); - swap_(y,boost::true_type() /* swap_allocators */); + swap_(y,boost::false_type() /* swap_allocators */); } return *this;