From 4d0f69893760396768e91876826795c46a54dc9d Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 5 Oct 2022 09:34:21 +0200 Subject: [PATCH] stylistic --- include/boost/unordered/detail/foa.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index e969e67b..e6ece045 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1061,10 +1061,10 @@ public: if(pocma||al()==x.al()){ using std::swap; reserve(0); + move_assign_if(al(),x.al()); + swap(size_,x.size_); swap(arrays,x.arrays); swap(ml,x.ml); - swap(size_,x.size_); - move_assign_if(al(),x.al()); } else{ reserve(x.size());